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/taureau/devices.nix | 9 --------- machines/taureau/hardware.nix | 7 ------- 2 files changed, 16 deletions(-) (limited to 'machines/taureau') diff --git a/machines/taureau/devices.nix b/machines/taureau/devices.nix index 856dcf1..012b0ce 100644 --- a/machines/taureau/devices.nix +++ b/machines/taureau/devices.nix @@ -10,15 +10,6 @@ kernelModules = [ ]; }; - networking = { - nameservers = [ - "1.1.1.1" "1.0.0.1" - ]; - # networkd handles our network - useDHCP = false; - }; - - systemd.network.enable = true; systemd.network.networks."10-wan" = { name = "enp6s16"; # ipv4 gets it's config through dhcp just fine! diff --git a/machines/taureau/hardware.nix b/machines/taureau/hardware.nix index 3c30146..7fbaf1d 100644 --- a/machines/taureau/hardware.nix +++ b/machines/taureau/hardware.nix @@ -18,12 +18,5 @@ 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.enp6s16.useDHCP = lib.mkDefault true; - virtualisation.hypervGuest.enable = true; } -- cgit 1.4.1