blob: 4e09aa8666f77ea127bc3c0f81b013388aaf5226 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
{ ... }:
{
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; } ];
}
|