diff --git a/hosts/c1/hardware.nix b/hosts/c1/hardware.nix index 979e25a..1054f27 100644 --- a/hosts/c1/hardware.nix +++ b/hosts/c1/hardware.nix @@ -46,13 +46,6 @@ randomEncryption.enable = true; }]; - # 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..useDHCP`. - networking.useDHCP = lib.mkDefault true; - # networking.interfaces.eno1.useDHCP = lib.mkDefault true; - nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; } diff --git a/hosts/c2/hardware.nix b/hosts/c2/hardware.nix index ff09941..de5a622 100644 --- a/hosts/c2/hardware.nix +++ b/hosts/c2/hardware.nix @@ -46,13 +46,6 @@ randomEncryption.enable = true; }]; - # 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..useDHCP`. - networking.useDHCP = lib.mkDefault true; - # networking.interfaces.eno1.useDHCP = lib.mkDefault true; - nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; } diff --git a/hosts/c3/hardware.nix b/hosts/c3/hardware.nix index 63346d5..cd716ce 100644 --- a/hosts/c3/hardware.nix +++ b/hosts/c3/hardware.nix @@ -46,13 +46,6 @@ randomEncryption.enable = true; }]; - # 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..useDHCP`. - networking.useDHCP = lib.mkDefault true; - # networking.interfaces.eno1.useDHCP = lib.mkDefault true; - nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; } diff --git a/hosts/common/global/network.nix b/hosts/common/global/network.nix index f29d881..6705a8f 100644 --- a/hosts/common/global/network.nix +++ b/hosts/common/global/network.nix @@ -1,3 +1,3 @@ { - networking.networkmanager.enable = true; + networking.useDHCP = true; }