summaryrefslogtreecommitdiffstats
path: root/nixos
diff options
context:
space:
mode:
authorRaito Bezarius <masterancpp@gmail.com>2023-05-25 19:08:19 +0200
committerRaito Bezarius <masterancpp@gmail.com>2023-06-08 16:55:55 +0200
commitbbfedea0a147acc3593fe948cb5ac77fed7a0d51 (patch)
tree3d0ab564377e24bd7d004aa70c52f449a6e87398 /nixos
parentefe64826c9a9a7feb6148c60c888d7ce9d882011 (diff)
nixosTests.systemd-initrd-luks-password: mount the host Nix store
Same rationale as caf6f41e2e1.
Diffstat (limited to 'nixos')
-rw-r--r--nixos/tests/systemd-initrd-luks-password.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/tests/systemd-initrd-luks-password.nix b/nixos/tests/systemd-initrd-luks-password.nix
index 2dd3f304e82a..a90a59feed6f 100644
--- a/nixos/tests/systemd-initrd-luks-password.nix
+++ b/nixos/tests/systemd-initrd-luks-password.nix
@@ -6,6 +6,8 @@ import ./make-test-python.nix ({ lib, pkgs, ... }: {
virtualisation = {
emptyDiskImages = [ 512 512 ];
useBootLoader = true;
+ # Booting off the encrypted disk requires an available init script
+ mountHostNixStore = true;
useEFIBoot = true;
};
boot.loader.systemd-boot.enable = true;