nixosTests.systemd-initrd-luks-fido2: fix test on aarch64-linux (#297308)

This commit is contained in:
Artturin 2024-09-01 19:45:29 +03:00 committed by GitHub
commit 0d5deebbfd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -9,7 +9,7 @@ import ./make-test-python.nix ({ lib, pkgs, ... }: {
# Booting off the encrypted disk requires having a Nix store available for the init script
mountHostNixStore = true;
useEFIBoot = true;
qemu.options = [ "-device canokey,file=/tmp/canokey-file" ];
qemu.options = [ "-device pci-ohci,id=usb-bus" "-device canokey,bus=usb-bus.0,file=/tmp/canokey-file" ];
};
boot.loader.systemd-boot.enable = true;