From de7ea54d822f6af969fff218689f11a085439fe9 Mon Sep 17 00:00:00 2001 From: Will Fancher Date: Wed, 27 Aug 2025 01:40:34 -0400 Subject: [PATCH] nixos/tests/luks: Explicitly disable systemd stage 1 systemd stage 1 is covered by `nixos.tests.systemd-initrd-luks-password`, but we should still test scripted stage 1 for the time being. --- nixos/tests/luks.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nixos/tests/luks.nix b/nixos/tests/luks.nix index 7440d110ad28..db2672eefdc0 100644 --- a/nixos/tests/luks.nix +++ b/nixos/tests/luks.nix @@ -1,3 +1,5 @@ +# Tests LUKS specifically with scripted stage 1. Remove in 26.11. + { lib, pkgs, ... }: { name = "luks"; @@ -6,6 +8,8 @@ { pkgs, ... }: { + boot.initrd.systemd.enable = false; + # Use systemd-boot virtualisation = { emptyDiskImages = [