1 { config, lib, pkgs, ... }:
4 cfg = config.programs.kde-pim;
7 options.programs.kde-pim = {
8 enable = lib.mkEnableOption "KDE PIM base packages";
9 kmail = lib.mkEnableOption "KMail";
10 kontact = lib.mkEnableOption "Kontact";
11 merkuro = lib.mkEnableOption "Merkuro";
14 config = lib.mkIf cfg.enable {
15 environment.systemPackages = with pkgs.kdePackages; [
19 ] ++ lib.optionals cfg.kmail [
24 ] ++ lib.optionals cfg.kontact [
26 ] ++ lib.optionals cfg.merkuro [