feat(shell): add enable option

This commit is contained in:
2026-05-22 10:25:52 +02:00
parent c3239c544a
commit 1158e855c2
5 changed files with 34 additions and 17 deletions

View File

@@ -4,13 +4,12 @@
dotsPath,
...
}:
let
cfg = config.shell.bash;
inherit (config.home) username;
in
{
imports = [ ./utils.nix ];
options.shell.bash = {
aliases = {
all = lib.mkOption {
@@ -34,7 +33,7 @@ in
};
};
config = {
config = lib.mkIf config.shell.enable {
programs.bash = {
enable = true;
enableCompletion = true;