1
1
Fork 0
nixos/options/custom/programs/bash.nix

23 lines
323 B
Nix
Raw Normal View History

{
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;
};
}
];
};
}