mirror of
https://github.com/girlbossceo/nixos-config.git
synced 2025-04-29 05:59:26 -04:00
add steam, add firewall, disable wifi powersave
Signed-off-by: June Clementine Strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
08b276826c
commit
cc1105ef7c
1 changed files with 16 additions and 0 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Add table
Reference in a new issue