From 9ff3f739d0e0498052a2822736652e3ce373f538 Mon Sep 17 00:00:00 2001 From: Elias Kohout Date: Tue, 7 Apr 2026 18:06:42 +0200 Subject: [PATCH] Move bash configuration from home to nixos module --- home/modules/shell.nix | 1 - nixos/modules/shell.nix | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/home/modules/shell.nix b/home/modules/shell.nix index 99ad041..9e81677 100644 --- a/home/modules/shell.nix +++ b/home/modules/shell.nix @@ -1,7 +1,6 @@ { config, lib, ... }: { - programs.bash.enable = true; programs.zsh = { enable = true; dotDir = "${config.xdg.configHome}/zsh"; diff --git a/nixos/modules/shell.nix b/nixos/modules/shell.nix index 5c01e63..7ccd7fd 100644 --- a/nixos/modules/shell.nix +++ b/nixos/modules/shell.nix @@ -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";