diff --git a/programs/desktop/default.nix b/programs/desktop/default.nix index 2dc3b403..21d25098 100644 --- a/programs/desktop/default.nix +++ b/programs/desktop/default.nix @@ -12,4 +12,17 @@ environment.plasma6.excludePackages = with pkgs.kdePackages; [ pkgs.elisa ]; + + networking.firewall.allowedTCPPortRanges = [ + { + from = 1714; + to = 1764; + } + ]; + networking.firewall.allowedUDPPortRanges = [ + { + from = 1714; + to = 1764; + } + ]; } diff --git a/programs/desktop/home-manager.nix b/programs/desktop/home-manager.nix index 662ef047..c2941a6c 100644 --- a/programs/desktop/home-manager.nix +++ b/programs/desktop/home-manager.nix @@ -1,4 +1,4 @@ -{pkgs, ...}: { +{pkgs, nixos-config, ...}: { imports = [ ./firefox ./password-manager.nix @@ -6,8 +6,10 @@ ./games ./ims.nix ./audacious.nix + "${nixos-config}/services/desktop" ]; home.packages = with pkgs; [ kdePackages.kontact ]; + } diff --git a/services/desktop/default.nix b/services/desktop/default.nix new file mode 100644 index 00000000..a39b4c76 --- /dev/null +++ b/services/desktop/default.nix @@ -0,0 +1,5 @@ +{...}: { + imports = [ + ./kdeconnect.nix + ]; +} diff --git a/services/desktop/kdeconnect.nix b/services/desktop/kdeconnect.nix new file mode 100644 index 00000000..800e86fd --- /dev/null +++ b/services/desktop/kdeconnect.nix @@ -0,0 +1,7 @@ +{pkgs, ...}: { + services.kdeconnect = { + enable = true; + indicator = true; + package = pkgs.kdePackages.kdeconnect-kde; + }; +}