Tpm
virtualisation.tpm.deviceModel
QEMU device model for the TPM, uses the appropriate default based on th guest platform system and the package passed.
Type: string
Default
`#!nix '' Based on the guest platform Linux system:
tpm-tis
for (i686, x86_64)tpm-spapr
for ppc64tpm-tis-device
for (armv7, aarch64) ''`
Example
"tpm-tis-device"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/virtualisation/qemu-vm.nix
virtualisation.tpm.enable
Whether to enable a TPM device in the virtual machine with a driver, using swtpm.
Type: boolean
Default
false
Example
true
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/virtualisation/qemu-vm.nix
virtualisation.tpm.package
The swtpm package to use.
Type: package
Default
pkgs.swtpm
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/virtualisation/qemu-vm.nix