nixconf/modules/applications/default.nix
2024-11-07 20:48:01 +01:00

34 lines
499 B
Nix

{
lib,
config,
pkgs,
...
}:
let
cfg = config.modules.apps;
in
{
options.modules.apps = {
enable = lib.mkEnableOption "enable desktop applications";
};
imports = [
./firefox.nix
./git.nix
./kitty.nix
./zsh.nix
./thunderbird.nix
];
config = lib.mkIf cfg.enable {
modules.apps = {
firefox.enable = true;
git.enable = true;
kitty.enable = true;
zsh = {
enable = true;
enableAliases = true;
};
};
};
}