diff --git a/home/config/nvim/nifoc/statusline.fnl b/home/config/nvim/nifoc/statusline.fnl index e169639..e391de8 100644 --- a/home/config/nvim/nifoc/statusline.fnl +++ b/home/config/nvim/nifoc/statusline.fnl @@ -273,8 +273,7 @@ :hl {:fg colors.purple}}) ;; Search count (set mod.search-count - {:condition (fn [] - (if (= vim.v.hlsearch 0) false true)) + {:condition #(> vim.v.hlsearch 0) :init (fn [self] (set self.count (vim.fn.searchcount {:timeout 5}))) :provider (fn [self] diff --git a/system/nixos/arion.nix b/system/nixos/arion.nix index bfe56e2..7542aa2 100644 --- a/system/nixos/arion.nix +++ b/system/nixos/arion.nix @@ -20,7 +20,10 @@ WATCHTOWER_POLL_INTERVAL = "28800"; WATCHTOWER_LABEL_ENABLE = "true"; }; - volumes = [ "/var/run/docker.sock:/var/run/docker.sock" ]; + volumes = [ + "/var/run/docker.sock:/var/run/docker.sock" + "/root/.docker/config.json:/config.json:ro" + ]; }; };