From 89952f7bb678de4c51dcc8f42110fe9ad1f52260 Mon Sep 17 00:00:00 2001 From: Raito Bezarius Date: Thu, 8 Jun 2023 16:18:58 +0200 Subject: [PATCH] nixosTests.luks: mount the host Nix store Same rationale as in caf6f41e2e1. --- nixos/tests/luks.nix | 2 ++ 1 file changed, 2 insertions(+) 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;