diff --git a/home/jonas@monolith.nix b/home/jonas@monolith.nix index d63c8cb..f182041 100644 --- a/home/jonas@monolith.nix +++ b/home/jonas@monolith.nix @@ -19,6 +19,7 @@ passFF = true; }; hive.kdeconnect.enable = true; + hive.kdeconnect.indicatorOnly = true; hive.nextcloud.enable = true; hive.nix-scripts.enable = true; hive.ranger.enable = true; diff --git a/modules/default.nix b/modules/default.nix index 99ef04b..4c106d9 100644 --- a/modules/default.nix +++ b/modules/default.nix @@ -24,8 +24,8 @@ ./networking/wireguard ./programs/games.nix ./services/borg-server.nix - ./services/nextcloud-instance.nix ./services/kdeconnect.nix + ./services/nextcloud-instance.nix ./services/virt-manager.nix ] ++ lib.optionals isHM [ diff --git a/modules/home/kdeconnect.nix b/modules/home/kdeconnect.nix index 1d84abf..b5f80ff 100644 --- a/modules/home/kdeconnect.nix +++ b/modules/home/kdeconnect.nix @@ -7,9 +7,16 @@ in { options.hive.kdeconnect = { enable = lib.mkEnableOption "Enable KDE Connect"; + indicatorOnly = lib.mkOption { + type = lib.types.bool; + default = false; + description = '' + Only enable the incicator service. + ''; + }; }; config = lib.mkIf cfg.enable { - services.kdeconnect.enable = true; - services.kdeconnect.indicator = false; + services.kdeconnect.enable = ! cfg.indicatorOnly; + services.kdeconnect.indicator = true; }; }