feat(stolas): enable TPM2 LUKS keyslot

This commit is contained in:
Tim Schubert 2025-07-26 13:43:39 +02:00
parent 215f4313bd
commit 8f967ab448
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -32,6 +32,8 @@
"usb_storage"
"sd_mod"
];
# Ensure that TPM module is loaded
kernelModules = [ "tpm" ];
};
};

View file

@ -30,10 +30,8 @@
content = {
type = "luks";
name = "crypted";
#passwordFile = "/tmp/secret.key"; # Interactive
settings = {
allowDiscards = true;
#keyFile = "/tmp/secret.key";
};
#additionalKeyFiles = [ "/tmp/additionalSecret.key" ];
content = {