System Gen33 @ 2025-05-11-02:19:48 by jonas@monolith

This commit is contained in:
2025-05-11 02:19:50 +02:00
parent 34c79a8c0d
commit 1f01fcb4bd
3 changed files with 19 additions and 2 deletions

View File

@@ -0,0 +1,17 @@
{
config,
lib,
pkgs,
...
}: let
cfg = config.hive.services.kdeconnect;
in {
options.hive.services.kdeconnect = {
enable = lib.mkEnableOption "KDE Connect system service (plasma6)";
};
config = lib.mkIf cfg.enable {
programs.kdeconnect.enable = true; # Already opens firewall for the needed ports
programs.kdeconnect.package = lib.mkForce pkgs.kdePackages.kdeconnect-kde;
};
}