europa: fix fido2 unlock

This commit is contained in:
Aaron Bieber 2022-11-16 20:25:14 -07:00
parent f8ed5e920c
commit 5f7411f7ef
No known key found for this signature in database
2 changed files with 3 additions and 3 deletions

View File

@ -48,6 +48,7 @@ in {
nixpkgs.config.allowUnsupportedSystem = true;
boot = {
initrd.systemd.enable = true;
loader = {
systemd-boot.enable = true;
efi = {

View File

@ -14,11 +14,10 @@
fsType = "ext4";
};
boot.initrd.luks.fido2Support = true;
boot.initrd.luks.devices."luks-1f16b568-7726-44b6-b082-6b9d5e4d1972".device =
"/dev/disk/by-uuid/1f16b568-7726-44b6-b082-6b9d5e4d1972";
boot.initrd.luks.devices."luks-1f16b568-7726-44b6-b082-6b9d5e4d1972".fido2.credential =
"84748120edefe40ad9b1863c242b3139932af4191744241fe729f959f16a21b4fbb36a2ea309b1f58275f5395f3b4608";
boot.initrd.luks.devices."luks-1f16b568-7726-44b6-b082-6b9d5e4d1972".crypttabExtraOpts =
[ "fido2-device=auto" ];
fileSystems."/boot/efi" = {
device = "/dev/disk/by-uuid/F0A2-4A56";