diff --git a/home/modules/fish.nix b/home/modules/fish.nix index 626919b..cd4813e 100644 --- a/home/modules/fish.nix +++ b/home/modules/fish.nix @@ -11,7 +11,10 @@ in }; config = lib.mkIf cfg.enable { - xdg.configFile."fish/completions/rustup.fish".text = lib.mkIf rust (builtins.readFile ../completions/rustup.fish); + xdg.configFile."fish/completions/rustup.fish" = { + enable = rust; + source = ../completions/rustup.fish; + }; programs.bash = lib.mkIf (!macos) { enable = true;