nixosTests.systemd-initrd-luks-fido2: mount the host Nix store
Same rationale as caf6f41e2e
.
This commit is contained in:
parent
955a77e1c4
commit
de7f3cb2fa
|
@ -6,6 +6,8 @@ import ./make-test-python.nix ({ lib, pkgs, ... }: {
|
||||||
virtualisation = {
|
virtualisation = {
|
||||||
emptyDiskImages = [ 512 ];
|
emptyDiskImages = [ 512 ];
|
||||||
useBootLoader = true;
|
useBootLoader = true;
|
||||||
|
# Booting off the encrypted disk requires having a Nix store available for the init script
|
||||||
|
mountHostNixStore = true;
|
||||||
useEFIBoot = true;
|
useEFIBoot = true;
|
||||||
qemu.package = lib.mkForce (pkgs.qemu_test.override { canokeySupport = true; });
|
qemu.package = lib.mkForce (pkgs.qemu_test.override { canokeySupport = true; });
|
||||||
qemu.options = [ "-device canokey,file=/tmp/canokey-file" ];
|
qemu.options = [ "-device canokey,file=/tmp/canokey-file" ];
|
||||||
|
|
Loading…
Reference in a new issue