add steam, add firewall, disable wifi powersave

Signed-off-by: June Clementine Strawberry <strawberry@puppygock.gay>
This commit is contained in:
June Clementine Strawberry 2024-12-29 00:15:08 -05:00
parent 08b276826c
commit cc1105ef7c
No known key found for this signature in database

View file

@ -37,6 +37,15 @@
# Enable networking
networking.networkmanager.enable = true;
# makes it annoying when i lose my wifi connection on suspend/sleep
networking.networkmanager.wifi.powersave = false;
networking.firewall = {
enable = true;
allowedTCPPorts = [ 22 80 443 ];
allowedUDPPorts = [ 80 443 ];
};
# none of the nixos default NTP servers support NTS, so overriding them all is intended
# also this list is pretty arbitrary, but it's from a random selection of servers at
# <https://github.com/jauderho/nts-servers>
@ -226,6 +235,13 @@
];
};
programs.steam = {
enable = true;
remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play
dedicatedServer.openFirewall = true; # Open ports in the firewall for Source Dedicated Server
localNetworkGameTransfers.openFirewall = true; # Open ports in the firewall for Steam Local Network Game Transfers
};
programs.htop = {
enable = true;
settings = {