1
1
Fork 0

bash: initial program

Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
Myned 2024-12-26 00:24:09 -05:00
parent 1144ff7ee2
commit 9bb40136c3
Signed by: Myned
GPG key ID: C7224454F7881A34
2 changed files with 23 additions and 0 deletions

View file

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

View file

@ -6,6 +6,7 @@
with lib; { with lib; {
config.custom.programs = mkMerge [ config.custom.programs = mkMerge [
(mkIf config.custom.default { (mkIf config.custom.default {
bash.enable = true;
direnv.enable = true; direnv.enable = true;
fastfetch.enable = true; fastfetch.enable = true;
fish.enable = true; fish.enable = true;