Migrate from zsh to fish
This commit is contained in:
@ -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; };
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user