diff options
| author | Mel <mel@rnrd.eu> | 2026-04-24 23:35:19 +0200 |
|---|---|---|
| committer | Mel <mel@rnrd.eu> | 2026-04-24 23:35:19 +0200 |
| commit | 56c22cf8ae9de73bbc1c37ce0b1635ae7af9be64 (patch) | |
| tree | 3ba1ca13dcf1ed9c0013f6bffddaee9392991b16 /machines/taupe | |
| parent | 127d8ff2c2e77a0cbfc7a2a3c962ef23b5ab7261 (diff) | |
| download | network-56c22cf8ae9de73bbc1c37ce0b1635ae7af9be64.tar.zst network-56c22cf8ae9de73bbc1c37ce0b1635ae7af9be64.zip | |
Migrate fully to systemd-networkd and nftables
Signed-off-by: Mel <mel@rnrd.eu>
Diffstat (limited to 'machines/taupe')
| -rw-r--r-- | machines/taupe/devices.nix | 9 | ||||
| -rw-r--r-- | machines/taupe/hardware.nix | 7 |
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; - } |
