mirror of
https://github.com/Misterio77/Foundry.git
synced 2026-08-24 10:04:09 -05:00
13 lines
309 B
Nix
13 lines
309 B
Nix
{config, ...}: {
|
|
security.tpm2 = {
|
|
enable = true;
|
|
pkcs11.enable = true;
|
|
};
|
|
services.fwupd.enable = true;
|
|
boot.kernelModules = ["uhid"];
|
|
# Needed for tpm-fido
|
|
services.udev.extraRules = ''
|
|
KERNEL=="uhid", SUBSYSTEM=="misc", GROUP="${config.security.tpm2.tssGroup}", MODE="0660"
|
|
'';
|
|
}
|