From 962f1cf7969a604d4ea6bc951a958b70fe3d79ee Mon Sep 17 00:00:00 2001 From: Zynh Ludwig Date: Fri, 27 Sep 2024 09:57:45 -0700 Subject: [PATCH] fish: fix rustup completions --- home/modules/fish.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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;