conditional plasma browser integration

This commit is contained in:
LordGrimmauld 2024-03-17 11:36:16 +01:00
parent 4e74bc033b
commit 33069a8db6

View file

@ -2,6 +2,9 @@
cfg = config.grimmShared;
in {
config = with cfg; lib.mkIf (enable && firefox.enable) {
environment.systemPackages = []
++ lib.optionals config.services.desktopManager.plasma6.enable [ pkgs.plasma-browser-integration ];
programs.firefox = {
enable = true;
nativeMessagingHosts.packages = []