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_read_workqueue"
|
||||||
"--perf-no_write_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
|
# https://0pointer.net/blog/unlocking-luks2-volumes-with-tpm2-fido2-pkcs11-security-hardware-on-systemd-248.html
|
||||||
settings = {
|
settings = {
|
||||||
|
allowDiscards = true;
|
||||||
crypttabExtraOpts = [
|
crypttabExtraOpts = [
|
||||||
"fido2-device=auto"
|
"fido2-device=auto"
|
||||||
"token-timeout=10"
|
"token-timeout=10"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
passwordFile = "/tmp/secret.key";
|
||||||
content = {
|
content = {
|
||||||
type = "zfs";
|
type = "zfs";
|
||||||
pool = "zstorage";
|
pool = "zstorage";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue