some refactoring

This commit is contained in:
cnst
2024-10-19 11:09:45 +02:00
parent 946125fb09
commit 2cbe3a0ff9
15 changed files with 204 additions and 26 deletions

View 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;
};
};
}