about summary refs log tree commit diff
path: root/hosts
diff options
context:
space:
mode:
authorBaitinq <manuelpalenzuelamerino@gmail.com>2022-07-26 11:40:15 +0200
committerBaitinq <manuelpalenzuelamerino@gmail.com>2022-07-26 11:40:15 +0200
commit443486ff4562f0755a290408cf6394e8cd6f52e5 (patch)
tree03b4c08a0aae31225e5d71d62724e28daf3a493c /hosts
parentEnable gpu power saving (diff)
downloadnixos-config-443486ff4562f0755a290408cf6394e8cd6f52e5.tar.gz
nixos-config-443486ff4562f0755a290408cf6394e8cd6f52e5.tar.bz2
nixos-config-443486ff4562f0755a290408cf6394e8cd6f52e5.zip
Disable explicit DHCP
This caused problems with spawning 2 DHCP instances and locking up the
shutdown process
Diffstat (limited to 'hosts')
-rw-r--r--hosts/configuration.nix6
1 files changed, 0 insertions, 6 deletions
diff --git a/hosts/configuration.nix b/hosts/configuration.nix
index cd57bba..5739b87 100644
--- a/hosts/configuration.nix
+++ b/hosts/configuration.nix
@@ -37,12 +37,6 @@
       # networking.firewall.allowedUDPPorts = [ ... ];
       # Or disable the firewall altogether.
     };
-    # Enables DHCP on each ethernet and wireless interface. In case of scripted networking
-    # (the default) this is the recommended approach. When using systemd-networkd it's
-    # still possible to use this option, but it's recommended to use it in conjunction
-    # with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
-    useDHCP = lib.mkDefault true;
-    # interfaces.enp0s3.useDHCP = lib.mkDefault true;
   };
 
   # Select internationalisation properties.