nixos/tests/systemd-initrd-luks-tpm2: Fix on aarch64-linux
Systemd wants you to run tpm unlock on a machine with the TCG bits of OVMF enabled. If not it just bails out with No TPM2 hardware discovered and EFI firmware does not see it either, falling back to traditional unlocking
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
useBootLoader = true;
|
||||
# Booting off the TPM2-encrypted device requires an available init script
|
||||
mountHostNixStore = true;
|
||||
efi.OVMF = pkgs.OVMFFull; # this really should be the default. Only OVMFFull contains TCG
|
||||
useEFIBoot = true;
|
||||
tpm.enable = true;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user