diff options
-rw-r--r-- | hosts/tarrel.nix | 10 | ||||
-rw-r--r-- | services/sunshine.nix | 13 |
2 files changed, 7 insertions, 16 deletions
diff --git a/hosts/tarrel.nix b/hosts/tarrel.nix index 59ecf4c..71b70af 100644 --- a/hosts/tarrel.nix +++ b/hosts/tarrel.nix @@ -2,9 +2,6 @@ { imports = [ ./hardware-configuration/tarrel.nix - - # Services - ../services/sunshine.nix ]; boot.loader.systemd-boot.enable = true; @@ -75,4 +72,11 @@ }; system.stateVersion = "24.05"; # Did you read the comment? + + services.sunshine = { + enable = true; + autoStart = true; + capSysAdmin = true; + openFirewall = true; + }; } diff --git a/services/sunshine.nix b/services/sunshine.nix deleted file mode 100644 index 4e09aa8..0000000 --- a/services/sunshine.nix +++ /dev/null @@ -1,13 +0,0 @@ -{ ... }: -{ - services.sunshine = { - enable = true; - autoStart = true; - capSysAdmin = true; - openFirewall = true; - }; - - networking.firewall.allowedTCPPorts = [ 47984 47989 48010 ]; - networking.firewall.allowedUDPPorts = [ 48010 ]; - networking.firewall.allowedUDPPortRanges = [ { from = 47998; to = 48000; } ]; -} |