From ae74ce0acb4faef888df17f94d6b92816e5c880a Mon Sep 17 00:00:00 2001 From: tv Date: Tue, 24 Nov 2026 03:20:45 +0000 Subject: oai: use networkd --- systems/oai/config.nix | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'systems') diff --git a/systems/oai/config.nix b/systems/oai/config.nix index b802c7ed..561bb336 100644 --- a/systems/oai/config.nix +++ b/systems/oai/config.nix @@ -1,6 +1,8 @@ { modulesPath, pkgs, ... }: { imports = [ (modulesPath + "/profiles/qemu-guest.nix") + ../../configs/networkd.nix + ../../modules/network.nix ]; boot.loader.systemd-boot.enable = true; @@ -22,6 +24,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; environment.systemPackages = [ pkgs.vim -- cgit v1.3.1