A start job is runnning for /dev/tpmr0

Hello,

My problem is that everytime i boot up, i get following message

[  OK  ] Finished Apply Kernel Variables.
[  OK  ] Finished Firewall.
[**    ] A start job is running for /dev/tpmrm0 (13s / 1min 30s)

I do not use tpm.

[Interrupting systemd services] here it was Suggested, that one could set the TimeoutStartSec to something shorter.But how would i do that for /dev/tpmrm0?

[[SOLVED] Boot process slowdown because of /dev/tpmrm0 start job. / Newbie Corner / Arch Linux Forums] Archusers said one should systemctl mask either tmp2.target. or dev-tpmrm0.device. This is not possible via imperative commands on NixOS. How could i do this via the Config?

How Could I solve my problem of waiting 90s every boot?

systemd.tpm2.enable = false;
and additionally
boot.initrd.systemd.tpm2.enable = false; if the first one is not enough.

2 Likes