mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 00:43:20 +00:00
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 = {
|
||||
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" ];
|
||||
|
Loading…
Reference in New Issue
Block a user