diff --git a/options/custom/programs/bash.nix b/options/custom/programs/bash.nix new file mode 100644 index 0000000..f787786 --- /dev/null +++ b/options/custom/programs/bash.nix @@ -0,0 +1,22 @@ +{ + config, + lib, + ... +}: +with lib; let + cfg = config.custom.programs.bash; +in { + options.custom.programs.bash = { + enable = mkOption {default = false;}; + }; + + config = mkIf cfg.enable { + home-manager.sharedModules = [ + { + programs.bash = { + enable = true; + }; + } + ]; + }; +} diff --git a/options/custom/programs/default.nix b/options/custom/programs/default.nix index 3e2bc2b..097e22d 100644 --- a/options/custom/programs/default.nix +++ b/options/custom/programs/default.nix @@ -6,6 +6,7 @@ with lib; { config.custom.programs = mkMerge [ (mkIf config.custom.default { + bash.enable = true; direnv.enable = true; fastfetch.enable = true; fish.enable = true;