summaryrefslogtreecommitdiff
path: root/machines/taupe
diff options
context:
space:
mode:
Diffstat (limited to 'machines/taupe')
-rw-r--r--machines/taupe/devices.nix9
-rw-r--r--machines/taupe/hardware.nix7
2 files changed, 0 insertions, 16 deletions
diff --git a/machines/taupe/devices.nix b/machines/taupe/devices.nix
index a07f794..22587a9 100644
--- a/machines/taupe/devices.nix
+++ b/machines/taupe/devices.nix
@@ -12,16 +12,7 @@
memoryPercent = 50;
};
- networking = {
- useDHCP = false;
- nameservers = [
- "1.1.1.1" "1.0.0.1"
- "2606:4700:4700::1111" "2606:4700:4700::1001"
- ];
- };
-
# static ipv6 + dhcp ipv4
- systemd.network.enable = true;
systemd.network.networks."10-wan" = {
name = "enp1s0";
DHCP = "ipv4";
diff --git a/machines/taupe/hardware.nix b/machines/taupe/hardware.nix
index 810fafd..2fb0cf3 100644
--- a/machines/taupe/hardware.nix
+++ b/machines/taupe/hardware.nix
@@ -26,11 +26,4 @@
swapDevices = [ ];
- # 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`.
- networking.useDHCP = lib.mkDefault true;
- # networking.interfaces.enp1s0.useDHCP = lib.mkDefault true;
-
}