Move bash configuration from home to nixos module

This commit is contained in:
2026-04-07 18:06:42 +02:00
parent 4388cc6249
commit 9ff3f739d0
2 changed files with 2 additions and 2 deletions

View File

@@ -6,7 +6,7 @@
defaultShell = lib.mkOption {
type = lib.types.str;
default = "zsh";
description = "Default shell (dash, zsh, fish)";
description = "Default shell (bash, zsh, fish)";
};
};
@@ -14,6 +14,7 @@
cfg = config.custom.shell;
in lib.mkIf cfg.enable {
programs.bash.enable = true;
programs.zsh.enable = cfg.defaultShell == "zsh";
programs.fish.enable = cfg.defaultShell == "fish";