encrypt ssh private keys with the tpm

This commit is contained in:
cswimr 2024-12-03 16:40:01 -05:00
parent 0291524082
commit d5db083507
Signed by: cswimr
GPG key ID: 0EC431A8DA8F8087
3 changed files with 16 additions and 0 deletions

5
home-manager/tpm.nix Normal file
View file

@ -0,0 +1,5 @@
{
programs.ssh.extraConfig = ''
PKCS11Provider = /run/current-system/sw/lib/libtpm2_pkcs11.so
'';
}