summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nixos/tests/luks.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/tests/luks.nix b/nixos/tests/luks.nix
index c2b95c6a95fb..d5ac550a3c57 100644
--- a/nixos/tests/luks.nix
+++ b/nixos/tests/luks.nix
@@ -7,6 +7,8 @@ import ./make-test-python.nix ({ lib, pkgs, ... }: {
emptyDiskImages = [ 512 512 ];
useBootLoader = true;
useEFIBoot = true;
+ # To boot off the encrypted disk, we need to have a init script which comes from the Nix store
+ mountHostNixStore = true;
};
boot.loader.systemd-boot.enable = true;