serverle: move wifi power-save to hardware-config

This commit is contained in:
Felix Buehler 2021-11-30 23:15:29 +01:00
parent 216249ab8b
commit 6936c08ffb
2 changed files with 3 additions and 2 deletions

View file

@ -28,4 +28,7 @@
hardware.enableRedistributableFirmware = true; hardware.enableRedistributableFirmware = true;
#swapDevices = [{ device = "/swapfile"; size = 1024; }]; #swapDevices = [{ device = "/swapfile"; size = 1024; }];
# Fix wifi disconnect
networking.networkmanager.wifi.powersave = false;
} }

View file

@ -23,8 +23,6 @@
8080 # aria 8080 # aria
]; ];
networking.networkmanager.wifi.powersave = false;
# Nix # Nix
nix.gc.automatic = true; nix.gc.automatic = true;
nix.gc.options = "--delete-older-than 30d"; nix.gc.options = "--delete-older-than 30d";