home: zsh: use 'mkMerge'
This will make adding modular configuration easier.
This commit is contained in:
parent
c9969775da
commit
521522e4e9
|
@ -17,7 +17,8 @@ in
|
|||
launchTmux = mkEnableOption "auto launch tmux at shell start";
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
config = lib.mkIf cfg.enable (lib.mkMerge [
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
zsh-completions
|
||||
];
|
||||
|
@ -91,5 +92,6 @@ in
|
|||
# Enable VTE integration
|
||||
enableVteIntegration = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
]);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue