From de7f3cb2fa53380da6ef3da5c74e5b6a25e3e3c9 Mon Sep 17 00:00:00 2001 From: Raito Bezarius Date: Thu, 25 May 2023 19:06:38 +0200 Subject: [PATCH] nixosTests.systemd-initrd-luks-fido2: mount the host Nix store Same rationale as caf6f41e2e1. --- nixos/tests/systemd-initrd-luks-fido2.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nixos/tests/systemd-initrd-luks-fido2.nix b/nixos/tests/systemd-initrd-luks-fido2.nix index e80d95f79c7..32c79b731d8 100644 --- a/nixos/tests/systemd-initrd-luks-fido2.nix +++ b/nixos/tests/systemd-initrd-luks-fido2.nix @@ -6,6 +6,8 @@ import ./make-test-python.nix ({ lib, pkgs, ... }: { virtualisation = { emptyDiskImages = [ 512 ]; useBootLoader = true; + # Booting off the encrypted disk requires having a Nix store available for the init script + mountHostNixStore = true; useEFIBoot = true; qemu.package = lib.mkForce (pkgs.qemu_test.override { canokeySupport = true; }); qemu.options = [ "-device canokey,file=/tmp/canokey-file" ];