nixos/kde-pim: include kcontacts for merkuro's widgets

When using Merkuro in Plasma 6, the 'Contacts' widget will automatically
be added to the default panel. Unfortunately, it does not work unless
`kdePackages.kcontacts` is also present in the environment. This adds
the dependency if Plasma 6 is also enabled alongside Merkuro.

Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>
This commit is contained in:
Fernando Rodrigues 2025-05-11 13:46:04 -03:00
parent 5a1b4e070b
commit b6c615196e
No known key found for this signature in database
GPG key ID: CC3AE2EA00000000

View file

@ -33,8 +33,14 @@ in
++ lib.optionals cfg.kontact [
kontact
]
++ lib.optionals cfg.merkuro [
merkuro
];
++ lib.optionals cfg.merkuro (
[
merkuro
]
# Only needed when using the Merkuro Contacts widget in Plasma.
++ lib.optionals config.services.desktopManager.plasma6.enable [
kcontacts
]
);
};
}