diff options
| author | tv <tv@krebsco.de> | 2026-11-24 03:20:45 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-24 05:56:13 +0100 |
| commit | dcff742d1a68c92181660148260788f312d39f15 (patch) | |
| tree | 16f504212d348c9544457d705ca31b4434271dd6 /systems | |
| parent | ae74ce0acb4faef888df17f94d6b92816e5c880a (diff) | |
oxi: use networkd
Diffstat (limited to 'systems')
| -rw-r--r-- | systems/oxi/config.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/systems/oxi/config.nix b/systems/oxi/config.nix index cebf95ef..ff140413 100644 --- a/systems/oxi/config.nix +++ b/systems/oxi/config.nix @@ -1,6 +1,8 @@ { modulesPath, ... }: { imports = [ (modulesPath + "/profiles/qemu-guest.nix") + ../../configs/networkd.nix + ../../modules/network.nix ]; boot.loader.systemd-boot.enable = true; @@ -25,6 +27,8 @@ networking.useDHCP = false; networking.interfaces.eth0.useDHCP = true; + systemd.network.networks."40-eth0".dhcpV4Config.UseDNS = true; + systemd.network.networks."40-eth0".dhcpV6Config.UseDNS = true; fileSystems."/" = { device = "/dev/disk/by-label/root"; |
