Unverified Commit b6c61519 authored by Fernando Rodrigues's avatar Fernando Rodrigues
Browse files

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: default avatarFernando Rodrigues <alpha@sigmasquadron.net>
parent 5a1b4e07
Loading
Loading
Loading
Loading
+9 −3
Original line number Diff line number Diff line
@@ -33,8 +33,14 @@ in
      ++ lib.optionals cfg.kontact [
        kontact
      ]
      ++ lib.optionals cfg.merkuro [
      ++ lib.optionals cfg.merkuro (
        [
          merkuro
      ];
        ]
        # Only needed when using the Merkuro Contacts widget in Plasma.
        ++ lib.optionals config.services.desktopManager.plasma6.enable [
          kcontacts
        ]
      );
  };
}