final luks fix
This commit is contained in:
parent
cbf40cf1b3
commit
6e84bda08f
1 changed files with 2 additions and 1 deletions
|
|
@ -62,12 +62,13 @@ in {
|
|||
];
|
||||
# https://0pointer.net/blog/unlocking-luks2-volumes-with-tpm2-fido2-pkcs11-security-hardware-on-systemd-248.html
|
||||
settings = {
|
||||
keyFile = "/tmp/secret.key";
|
||||
allowDiscards = true;
|
||||
crypttabExtraOpts = [
|
||||
"fido2-device=auto"
|
||||
"token-timeout=10"
|
||||
];
|
||||
};
|
||||
passwordFile = "/tmp/secret.key";
|
||||
content = {
|
||||
type = "btrfs";
|
||||
extraArgs = ["-L" "nixos" "-f"];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue