bash: initial program
Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
parent
1144ff7ee2
commit
9bb40136c3
2 changed files with 23 additions and 0 deletions
22
options/custom/programs/bash.nix
Normal file
22
options/custom/programs/bash.nix
Normal 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;
|
||||
};
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue