mtworx: trying tpm2

This commit is contained in:
Motiejus Jakštys 2024-07-16 05:25:09 +03:00
parent ca6713dd10
commit 3ace354089

View File

@ -17,12 +17,16 @@ in {
kernelModules = ["kvm-intel"];
loader.systemd-boot.enable = true;
initrd = {
availableKernelModules = ["xhci_pci" "thunderbolt" "nvme" "usbhid"];
systemd.enableTpm2 = true;
availableKernelModules = ["xhci_pci" "thunderbolt" "nvme" "usbhid" "tpm_tis"];
systemd = {
enableTpm2 = true;
emergencyAccess = true;
};
luks.devices = {
luksroot = {
device = "${nvme}-part3";
allowDiscards = true;
crypttabExtraOpts = ["tpm2-device=auto"];
};
};
};