From 94e3d872f0224a421d72c18d062a735b2e922349 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9ana=20=E6=B1=9F?= Date: Mon, 26 Jan 2026 21:35:00 +0100 Subject: [PATCH] home/fish: use home-manager to configure vivid --- nix/homeModules/common/fish/default.nix | 6 +++++- nix/homeModules/common/fish/shellInit.fish | 3 --- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/nix/homeModules/common/fish/default.nix b/nix/homeModules/common/fish/default.nix index dbb6e438..9b5994fa 100644 --- a/nix/homeModules/common/fish/default.nix +++ b/nix/homeModules/common/fish/default.nix @@ -12,12 +12,16 @@ # Script dependencies # home.packages = [ - pkgs.vivid pkgs.nix-output-monitor # pretty ui for shells ]; programs = { fd.enable = true; fzf.enable = true; + # fd uses LS_COLORS + vivid = { + enable = true; + activeTheme = "solarized-light"; # similar to milou + }; }; # diff --git a/nix/homeModules/common/fish/shellInit.fish b/nix/homeModules/common/fish/shellInit.fish index 0a1cfd24..c99199ca 100644 --- a/nix/homeModules/common/fish/shellInit.fish +++ b/nix/homeModules/common/fish/shellInit.fish @@ -83,7 +83,4 @@ set -x fzf_fd_opts --hidden --exclude=.git # fzf-fish using patdiff would show incomplete diff, it is a bug # don't do it -# fd uses LS_COLORS -set -x LS_COLORS (vivid -m 24-bit generate solarized-light) # similar to milou - set -g sponge_purge_only_on_exit true