nixconf/modules/applications/default.nix
2024-05-11 00:44:17 +02:00

25 lines
386 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
];
config = lib.mkIf cfg.enable {
modules.apps = {
firefox.enable = true;
git.enable = true;
kitty.enable = true;
zsh.enable = true;
};
};
}