add fido2 protocol for unlocking luks
This commit is contained in:
parent
5b00dac090
commit
46cc773eaa
2 changed files with 13 additions and 3 deletions
|
|
@ -96,6 +96,7 @@
|
|||
kernelPackages = pkgs.linuxPackages_zen;
|
||||
loader.systemd-boot.enable = true;
|
||||
loader.efi.canTouchEfiVariables = true;
|
||||
initrd.systemd.enable = true;
|
||||
};
|
||||
|
||||
# This value determines the NixOS release from which the default
|
||||
|
|
|
|||
|
|
@ -30,7 +30,10 @@
|
|||
passwordFile = "/tmp/secret.key";
|
||||
settings = {
|
||||
allowDiscards = true;
|
||||
fallbackToPassword = true;
|
||||
crypttabExtraOpts = [
|
||||
"fido2-device=auto"
|
||||
"token-timeout=10"
|
||||
];
|
||||
};
|
||||
content = {
|
||||
type = "swap";
|
||||
|
|
@ -59,7 +62,10 @@
|
|||
passwordFile = "/tmp/secret.key";
|
||||
settings = {
|
||||
allowDiscards = true;
|
||||
fallbackToPassword = true;
|
||||
crypttabExtraOpts = [
|
||||
"fido2-device=auto"
|
||||
"token-timeout=10"
|
||||
];
|
||||
};
|
||||
initrdUnlock = true;
|
||||
extraFormatArgs = [
|
||||
|
|
@ -93,7 +99,10 @@
|
|||
passwordFile = "/tmp/secret.key";
|
||||
settings = {
|
||||
allowDiscards = true;
|
||||
fallbackToPassword = true;
|
||||
crypttabExtraOpts = [
|
||||
"fido2-device=auto"
|
||||
"token-timeout=10"
|
||||
];
|
||||
};
|
||||
initrdUnlock = true;
|
||||
extraFormatArgs = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue