summary refs log tree commit diff
path: root/nixos/tests
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/tests')
-rw-r--r--nixos/tests/systemd-initrd-simple.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/nixos/tests/systemd-initrd-simple.nix b/nixos/tests/systemd-initrd-simple.nix
index 4b3f56e472a..ba62cdf3bbc 100644
--- a/nixos/tests/systemd-initrd-simple.nix
+++ b/nixos/tests/systemd-initrd-simple.nix
@@ -2,7 +2,10 @@ import ./make-test-python.nix ({ lib, pkgs, ... }: {
   name = "systemd-initrd-simple";
 
   machine = { pkgs, ... }: {
-    boot.initrd.systemd.enable = true;
+    boot.initrd.systemd = {
+      enable = true;
+      emergencyAccess = true;
+    };
     fileSystems = lib.mkVMOverride {
       "/".autoResize = true;
     };