diff --git a/hosts/by-name/servo/net.nix b/hosts/by-name/servo/net.nix index 3d60163a..cec2aa3d 100644 --- a/hosts/by-name/servo/net.nix +++ b/hosts/by-name/servo/net.nix @@ -27,9 +27,7 @@ in # view refused packets with: `sudo journalctl -k` # networking.firewall.logRefusedPackets = true; - # The global useDHCP flag is deprecated, therefore explicitly set to false here. - # Per-interface useDHCP will be mandatory in the future, so this generated config - # replicates the default behaviour. + # these useDHCP lines are legacy from the auto-generated config. might be safe to remove now? networking.useDHCP = false; networking.interfaces.eth0.useDHCP = true; # XXX colin: probably don't need this. wlan0 won't be populated unless i touch a value in networking.interfaces.wlan0 diff --git a/hosts/modules/gui/gnome.nix b/hosts/modules/gui/gnome.nix index 293478b3..c0045ab7 100644 --- a/hosts/modules/gui/gnome.nix +++ b/hosts/modules/gui/gnome.nix @@ -21,7 +21,6 @@ in services.xserver.displayManager.gdm.enable = true; # gnome does networking stuff with networkmanager - networking.useDHCP = false; networking.networkmanager.enable = true; networking.wireless.enable = lib.mkForce false; }; diff --git a/hosts/modules/gui/phosh.nix b/hosts/modules/gui/phosh.nix index 5e7856cd..a3fd25d4 100644 --- a/hosts/modules/gui/phosh.nix +++ b/hosts/modules/gui/phosh.nix @@ -74,7 +74,6 @@ in services.gnome.gnome-online-miners.enable = mkForce false; # XXX: phosh enables networkmanager by default; can probably disable these lines - networking.useDHCP = false; networking.networkmanager.enable = true; networking.wireless.enable = lib.mkForce false; diff --git a/hosts/modules/gui/sway/default.nix b/hosts/modules/gui/sway/default.nix index 75a0f5c8..21e7887c 100644 --- a/hosts/modules/gui/sway/default.nix +++ b/hosts/modules/gui/sway/default.nix @@ -260,7 +260,6 @@ in # }; # sane.persist.sys.byStore.plaintext = [ "/var/lib/alsa" ]; - networking.useDHCP = false; networking.networkmanager.enable = true; networking.wireless.enable = lib.mkForce false;