mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
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:
parent
5a1b4e070b
commit
b6c615196e
1 changed files with 9 additions and 3 deletions
|
@ -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
|
||||
]
|
||||
);
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue