Properly enable zsh system-wide when enabled
This commit is contained in:
parent
043c21cc8b
commit
ea68d18f48
|
|
@ -17,5 +17,6 @@
|
|||
./stylix.nix
|
||||
./system.nix
|
||||
./user.nix
|
||||
./zsh.nix
|
||||
];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
with lib;
|
||||
let
|
||||
zshCfg = config.modules.zsh;
|
||||
in
|
||||
{
|
||||
config = mkIf zshCfg.enable {
|
||||
programs.zsh.enable = true;
|
||||
};
|
||||
}
|
||||
Loading…
Reference in New Issue