nixosTests.systemd-initrd-luks-fido2: mount the host Nix store

Same rationale as caf6f41e2e.
This commit is contained in:
Raito Bezarius 2023-05-25 19:06:38 +02:00
parent 955a77e1c4
commit de7f3cb2fa

View File

@ -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" ];