summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaito Bezarius <masterancpp@gmail.com>2023-06-08 16:18:58 +0200
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2023-06-08 16:20:59 +0000
commit13f4e57719e2090949c702ca87d12db291ccbe1a (patch)
tree830680883a66dfea1037a68808746e8c8fa460da
parentnixos/tests/lvm2/systemd-stage-1: mount the host Nix store (diff)
downloadnixpkgs-origin/backport-234030-to-release-23.05.tar.gz
nixosTests.luks: mount the host Nix storeorigin/backport-234030-to-release-23.05
Same rationale as in caf6f41e2e1. (cherry picked from commit 89952f7bb678de4c51dcc8f42110fe9ad1f52260)
-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;