summary refs log tree commit diff
path: root/nixos/modules/system/boot/luksroot.nix
diff options
context:
space:
mode:
authorAnton Plotnikov <plotnikovanton@gmail.com>2020-10-13 12:01:23 +0300
committerAnton Plotnikov <plotnikovanton@gmail.com>2020-10-23 11:03:31 +0300
commit1321ae850c12ae223b4ca8468ecb14519e1d69f8 (patch)
treec24f65968b85ff8c9993ebec237ca5e769ce178b /nixos/modules/system/boot/luksroot.nix
parent33b7529b01709e54f34c61b9416ae2543d3e8020 (diff)
downloadnixpkgs-1321ae850c12ae223b4ca8468ecb14519e1d69f8.tar
nixpkgs-1321ae850c12ae223b4ca8468ecb14519e1d69f8.tar.gz
nixpkgs-1321ae850c12ae223b4ca8468ecb14519e1d69f8.tar.bz2
nixpkgs-1321ae850c12ae223b4ca8468ecb14519e1d69f8.tar.lz
nixpkgs-1321ae850c12ae223b4ca8468ecb14519e1d69f8.tar.xz
nixpkgs-1321ae850c12ae223b4ca8468ecb14519e1d69f8.tar.zst
nixpkgs-1321ae850c12ae223b4ca8468ecb14519e1d69f8.zip
fido2luks: 0.2.3 -> 0.2.15
Also remove interactive flag from initrd, because of broken io.
Diffstat (limited to 'nixos/modules/system/boot/luksroot.nix')
-rw-r--r--nixos/modules/system/boot/luksroot.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/system/boot/luksroot.nix b/nixos/modules/system/boot/luksroot.nix
index 88190e8200b..8dd2ea20519 100644
--- a/nixos/modules/system/boot/luksroot.nix
+++ b/nixos/modules/system/boot/luksroot.nix
@@ -404,7 +404,7 @@ let
           echo "Please move your mouse to create needed randomness."
         ''}
           echo "Waiting for your FIDO2 device..."
-          fido2luks -i open ${device} ${name} ${fido2.credential} --await-dev ${toString fido2.gracePeriod} --salt string:$passphrase
+          fido2luks open ${device} ${name} ${fido2.credential} --await-dev ${toString fido2.gracePeriod} --salt string:$passphrase
         if [ $? -ne 0 ]; then
           echo "No FIDO2 key found, falling back to normal open procedure"
           open_normally