summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-24 03:20:45 +0000
committertv <tv@krebsco.de>2026-11-24 05:56:13 +0100
commitae74ce0acb4faef888df17f94d6b92816e5c880a (patch)
tree71c23975253affed5238bfeb0754e7b7d4dc3ba2
parent0b762b61aa78d1b38ed0ae1b9bee11f66e8e4a13 (diff)
oai: use networkd
-rw-r--r--systems/oai/config.nix4
1 files changed, 4 insertions, 0 deletions
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