nixos/tests/initrd-network: Explicitly disable systemd stage 1

This commit is contained in:
Will Fancher
2025-08-15 15:43:01 -04:00
parent 1ea02ad83f
commit 8cd4240c6c

View File

@@ -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