some refactoring
This commit is contained in:
17
modules/home/cli/bash/default.nix
Normal file
17
modules/home/cli/bash/default.nix
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}: let
|
||||
inherit (lib) mkIf mkEnableOption;
|
||||
cfg = config.home.cli.bash;
|
||||
in {
|
||||
options = {
|
||||
home.cli.bash.enable = mkEnableOption "Enables bash";
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
programs.bash = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user