From 8cd4240c6c053df53deb5f3a70c5396d022ca3cf Mon Sep 17 00:00:00 2001 From: Will Fancher Date: Fri, 15 Aug 2025 15:43:01 -0400 Subject: [PATCH] nixos/tests/initrd-network: Explicitly disable systemd stage 1 --- nixos/tests/initrd-network.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nixos/tests/initrd-network.nix b/nixos/tests/initrd-network.nix index b84588f1d250..b43e62db0a52 100644 --- a/nixos/tests/initrd-network.nix +++ b/nixos/tests/initrd-network.nix @@ -1,3 +1,5 @@ +# Tests networking in scripted stage 1. Remove in 26.11. + { pkgs, lib, ... }: { name = "initrd-network"; @@ -8,6 +10,7 @@ { ... }: { imports = [ ../modules/profiles/minimal.nix ]; + boot.initrd.systemd.enable = false; boot.initrd.network.enable = true; boot.initrd.network.postCommands = '' ip addr show