home: zsh: use 'mkMerge'

This will make adding modular configuration easier.
This commit is contained in:
Bruno BELANYI 2023-08-13 15:59:25 +01:00
parent c9969775da
commit 521522e4e9

View file

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