From 56c22cf8ae9de73bbc1c37ce0b1635ae7af9be64 Mon Sep 17 00:00:00 2001 From: Mel Date: Fri, 24 Apr 2026 23:35:19 +0200 Subject: Migrate fully to systemd-networkd and nftables Signed-off-by: Mel --- machines/taupe/devices.nix | 9 --------- machines/taupe/hardware.nix | 7 ------- 2 files changed, 16 deletions(-) (limited to 'machines/taupe') 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..useDHCP`. - networking.useDHCP = lib.mkDefault true; - # networking.interfaces.enp1s0.useDHCP = lib.mkDefault true; - } -- cgit 1.4.1