key
This commit is contained in:
parent
6660b3a0f5
commit
cbf40cf1b3
1 changed files with 2 additions and 3 deletions
|
|
@ -16,16 +16,15 @@
|
|||
"--perf-no_read_workqueue"
|
||||
"--perf-no_write_workqueue"
|
||||
];
|
||||
format = {
|
||||
keyFile = "/tmp/secret.key";
|
||||
};
|
||||
# https://0pointer.net/blog/unlocking-luks2-volumes-with-tpm2-fido2-pkcs11-security-hardware-on-systemd-248.html
|
||||
settings = {
|
||||
allowDiscards = true;
|
||||
crypttabExtraOpts = [
|
||||
"fido2-device=auto"
|
||||
"token-timeout=10"
|
||||
];
|
||||
};
|
||||
passwordFile = "/tmp/secret.key";
|
||||
content = {
|
||||
type = "zfs";
|
||||
pool = "zstorage";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue