add networkmanager to fix steam startup times

This commit is contained in:
Noah Masur
2023-08-08 22:13:24 -04:00
parent 05a8f4a49b
commit 5561c85b43
3 changed files with 6 additions and 2 deletions

View File

@ -2,7 +2,7 @@
config = lib.mkIf config.physical {
networking.useDHCP = true;
networking.useDHCP = !config.networking.networkmanager.enable;
networking.firewall.allowPing = lib.mkIf config.server true;

View File

@ -3,7 +3,7 @@
config = lib.mkIf (config.physical && pkgs.stdenv.isLinux) {
# Enables wireless support via wpa_supplicant.
networking.wireless.enable = true;
networking.wireless.enable = !config.networking.networkmanager.enable;
# Allows the user to control the WiFi settings.
networking.wireless.userControlled.enable = true;