diff --git a/graphical.nix b/graphical.nix index 087d572..19f9484 100644 --- a/graphical.nix +++ b/graphical.nix @@ -26,6 +26,7 @@ # Misc progs bitwarden libreoffice-fresh + kdeconnect # Misc utils wl-clipboard diff --git a/nixos/configuration.nix b/nixos/configuration.nix index 3770780..f280203 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -74,9 +74,27 @@ networking.networkmanager.enable = true; programs.noisetorch.enable = true; - networking.firewall.allowedTCPPorts = [ - 8080 - ]; + networking.firewall = { + allowedTCPPorts = [ + 8080 + 8085 + 7878 + 3724 + ]; + + allowedTCPPortRanges = [ + { + from = 1714; + to = 1764; + } + ]; + allowedUDPPortRanges = [ + { + from = 1714; + to = 1764; + } + ]; + }; nix.settings.auto-optimise-store = true; nix.gc = { diff --git a/wm/default.nix b/wm/default.nix index 55717de..f37b28b 100644 --- a/wm/default.nix +++ b/wm/default.nix @@ -99,6 +99,10 @@ {command = "thunderbird";} {command = "systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK";} {command = "hash dbus-update-activation-environment 2>/dev/null && dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK";} + { + command = "${pkgs.kdeconnect}/libexec/kdeconnectd"; + always = true; + } ]; workspaces = {