From c9edeca31165f25ed8de135e6d455841c61bed5b Mon Sep 17 00:00:00 2001 From: imxyy_soope_ Date: Sat, 20 Dec 2025 12:57:47 +0800 Subject: [PATCH] feat(fish): persist fish_variables --- modules/cli/shell/fish.nix | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/modules/cli/shell/fish.nix b/modules/cli/shell/fish.nix index 767f731..3a29754 100644 --- a/modules/cli/shell/fish.nix +++ b/modules/cli/shell/fish.nix @@ -17,9 +17,14 @@ in }; config = lib.mkIf cfg.enable { - my.persist.homeDirs = [ - ".local/share/fish" - ]; + my.persist = { + homeDirs = [ + ".local/share/fish" + ]; + homeFiles = [ + ".config/fish/fish_variables" + ]; + }; my.hm = { xdg.configFile."fish/themes/tokyonight_storm.theme".source = builtins.fetchurl { url = "https://raw.githubusercontent.com/folke/tokyonight.nvim/refs/tags/v4.14.1/extras/fish_themes/tokyonight_storm.theme";