fixed sunshine and added tpm2 support

This commit is contained in:
yaroslav
2026-04-29 13:16:46 +03:00
parent a371861dd5
commit 77531016ab
4 changed files with 11 additions and 2 deletions
+7
View File
@@ -0,0 +1,7 @@
{...}:
{
security.tpm2.enable = true;
security.tpm2.pkcs11.enable = true; # expose /run/current-system/sw/lib/libtpm2_pkcs11.so
security.tpm2.tctiEnvironment.enable = true; # TPM2TOOLS_TCTI and TPM2_PKCS11_TCTI env variables
users.users.YOUR_USER.extraGroups = [ "tss" ]; # tss group has access to TPM devices
}