summaryrefslogtreecommitdiffstats
path: root/nixos
diff options
context:
space:
mode:
authorRaito Bezarius <masterancpp@gmail.com>2023-05-25 19:10:16 +0200
committerRaito Bezarius <masterancpp@gmail.com>2023-06-08 16:55:58 +0200
commitc1f0de6e2006b0c60f0fae602e073415574fd0eb (patch)
tree5e6286d655a083832f319cf827e9066db291cd61 /nixos
parentbbfedea0a147acc3593fe948cb5ac77fed7a0d51 (diff)
nixosTests.systemd-initrd-luks-keyfile: mount the host Nix store
Same rationale as caf6f41e2e1.
Diffstat (limited to 'nixos')
-rw-r--r--nixos/tests/systemd-initrd-luks-keyfile.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/tests/systemd-initrd-luks-keyfile.nix b/nixos/tests/systemd-initrd-luks-keyfile.nix
index 257243d92a1d..5ca0f48c333a 100644
--- a/nixos/tests/systemd-initrd-luks-keyfile.nix
+++ b/nixos/tests/systemd-initrd-luks-keyfile.nix
@@ -14,6 +14,8 @@ in {
virtualisation = {
emptyDiskImages = [ 512 ];
useBootLoader = true;
+ # Necessary to boot off the encrypted disk because it requires a init script coming from the Nix store
+ mountHostNixStore = true;
useEFIBoot = true;
};
boot.loader.systemd-boot.enable = true;