Migrate from zsh to fish

This commit is contained in:
2024-03-18 17:04:37 +01:00
parent fdd53faa62
commit b35c87b4d6
7 changed files with 112 additions and 7 deletions

View File

@ -20,7 +20,9 @@ config, ... }:
with lib;
let cfg = config.modules.shell.direnv;
let
cfg = config.modules.shell.direnv;
shellcfg = config.modules.shell;
in {
options.modules.shell.direnv = { enable = mkOption { default = false; }; };
@ -28,7 +30,7 @@ in {
programs.direnv = {
enable = true;
nix-direnv.enable = true;
enableZshIntegration = true;
};
} // mkIf shellcfg.zsh.enable { enableZshIntegration = true; }
// mkIf shellcfg.fish.enable { enableFishIntegration = true; };
};
}