zh
This commit is contained in:
parent
1c5299e2ca
commit
8061c5c132
2 changed files with 15 additions and 3 deletions
|
|
@ -61,7 +61,13 @@ in {
|
||||||
"--perf-no_write_workqueue"
|
"--perf-no_write_workqueue"
|
||||||
];
|
];
|
||||||
# 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 = {crypttabExtraOpts = ["fido2-device=auto" "token-timeout=10"];};
|
settings = {
|
||||||
|
keyFile = "/tmp/secret.key";
|
||||||
|
crypttabExtraOpts = [
|
||||||
|
"fido2-device=auto"
|
||||||
|
"token-timeout=10"
|
||||||
|
];
|
||||||
|
};
|
||||||
content = {
|
content = {
|
||||||
type = "btrfs";
|
type = "btrfs";
|
||||||
extraArgs = ["-L" "nixos" "-f"];
|
extraArgs = ["-L" "nixos" "-f"];
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,13 @@
|
||||||
"--perf-no_write_workqueue"
|
"--perf-no_write_workqueue"
|
||||||
];
|
];
|
||||||
# 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 = {crypttabExtraOpts = ["fido2-device=auto" "token-timeout=10"];};
|
settings = {
|
||||||
|
keyFile = "/tmp/secret.key";
|
||||||
|
crypttabExtraOpts = [
|
||||||
|
"fido2-device=auto"
|
||||||
|
"token-timeout=10"
|
||||||
|
];
|
||||||
|
};
|
||||||
content = {
|
content = {
|
||||||
type = "zfs";
|
type = "zfs";
|
||||||
pool = "zstorage";
|
pool = "zstorage";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue