vade: prefer FIDO2 over passphrase for LUKS unlock
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -18,7 +18,13 @@
|
|||||||
fsType = "ext4";
|
fsType = "ext4";
|
||||||
};
|
};
|
||||||
|
|
||||||
boot.initrd.luks.devices."luks-e51c3431-ac26-4429-88a6-cebba8878935".device = "/dev/disk/by-uuid/e51c3431-ac26-4429-88a6-cebba8878935";
|
boot.initrd.luks.devices."luks-e51c3431-ac26-4429-88a6-cebba8878935" = {
|
||||||
|
device = "/dev/disk/by-uuid/e51c3431-ac26-4429-88a6-cebba8878935";
|
||||||
|
crypttabExtraOpts = [
|
||||||
|
"fido2-device=auto"
|
||||||
|
"token-timeout=10"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
# Use systemd in initrd for FIDO2 LUKS unlock support
|
# Use systemd in initrd for FIDO2 LUKS unlock support
|
||||||
boot.initrd.systemd.enable = true;
|
boot.initrd.systemd.enable = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user