From 7a210b13be98ee1f83701657efbc92072fd92e71 Mon Sep 17 00:00:00 2001 From: clerie <git@clerie.de> Date: Thu, 20 Mar 2025 19:46:54 +0100 Subject: [PATCH] hosts/_iso: Migrate to systemd-network --- hosts/_iso/configuration.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hosts/_iso/configuration.nix b/hosts/_iso/configuration.nix index d971c32..b4af756 100644 --- a/hosts/_iso/configuration.nix +++ b/hosts/_iso/configuration.nix @@ -6,11 +6,16 @@ ../../configuration/gpg-ssh ]; + profiles.clerie.network-fallback-dhcp.enable = true; + # systemd in initrd is broken with ISOs # Failed to mount /sysroot/iso # https://github.com/NixOS/nixpkgs/issues/327187 boot.initrd.systemd.enable = false; + networking.useDHCP = false; + systemd.network.enable = true; + networking.hostName = "isowo"; isoImage.isoBaseName = lib.mkForce "nixos-isowo";