diff options
author | Raito Bezarius <masterancpp@gmail.com> | 2023-05-25 19:06:38 +0200 |
---|---|---|
committer | Raito Bezarius <masterancpp@gmail.com> | 2023-06-08 16:55:29 +0200 |
commit | de7f3cb2fa53380da6ef3da5c74e5b6a25e3e3c9 (patch) | |
tree | 11a7ab633ac241f4b02b29a27b9897e281906bb1 | |
parent | 955a77e1c4ad08c1b5952718d1ef16b8bbbdbd60 (diff) |
nixosTests.systemd-initrd-luks-fido2: mount the host Nix store
Same rationale as caf6f41e2e1.
-rw-r--r-- | nixos/tests/systemd-initrd-luks-fido2.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/tests/systemd-initrd-luks-fido2.nix b/nixos/tests/systemd-initrd-luks-fido2.nix index e80d95f79c7ea..32c79b731d801 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" ]; |