From bbfedea0a147acc3593fe948cb5ac77fed7a0d51 Mon Sep 17 00:00:00 2001 From: Raito Bezarius Date: Thu, 25 May 2023 19:08:19 +0200 Subject: [PATCH] nixosTests.systemd-initrd-luks-password: mount the host Nix store Same rationale as caf6f41e2e1. --- nixos/tests/systemd-initrd-luks-password.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nixos/tests/systemd-initrd-luks-password.nix b/nixos/tests/systemd-initrd-luks-password.nix index 2dd3f304e82..a90a59feed6 100644 --- a/nixos/tests/systemd-initrd-luks-password.nix +++ b/nixos/tests/systemd-initrd-luks-password.nix @@ -6,6 +6,8 @@ import ./make-test-python.nix ({ lib, pkgs, ... }: { virtualisation = { emptyDiskImages = [ 512 512 ]; useBootLoader = true; + # Booting off the encrypted disk requires an available init script + mountHostNixStore = true; useEFIBoot = true; }; boot.loader.systemd-boot.enable = true;