From c1f0de6e2006b0c60f0fae602e073415574fd0eb Mon Sep 17 00:00:00 2001 From: Raito Bezarius Date: Thu, 25 May 2023 19:10:16 +0200 Subject: [PATCH] nixosTests.systemd-initrd-luks-keyfile: mount the host Nix store Same rationale as caf6f41e2e1. --- nixos/tests/systemd-initrd-luks-keyfile.nix | 2 ++ 1 file changed, 2 insertions(+) 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;