add gamer environment, fix sunshine

This commit is contained in:
notgne2 2021-10-24 17:35:08 -07:00
parent ea38b66b82
commit 81b226d1b3
No known key found for this signature in database
GPG key ID: BB661E172B42A7F8
6 changed files with 77 additions and 27 deletions

View file

@ -92,7 +92,9 @@ in
vaapiIntel
vaapiVdpau
libvdpau-va-gl
libGL
];
setLdLibraryPath = true;
};
# Support for steam hardware
@ -170,11 +172,19 @@ in
}
];
# Steam remote play
networking.firewall.allowedTCPPorts = [ 27036 ];
networking.firewall.allowedTCPPorts = [
# Steam remote play
27036
# Sunshine/moonlight streaming
47984 47989 48010
];
# Used for upnp or something?
networking.firewall.allowedUDPPorts = [ 1900 ];
networking.firewall.allowedUDPPorts = [
# Used for upnp or something?
1900
# Sunshine/moonlight streaming
47998 47999 48000 48002 48010
];
# Shit breaks without this lol
programs.dconf.enable = lib.mkDefault true;