diff --git a/hosts/nb-01.cloonar.com/hardware-configuration.nix b/hosts/nb-01.cloonar.com/hardware-configuration.nix index f4d2aee..ed9ae58 100644 --- a/hosts/nb-01.cloonar.com/hardware-configuration.nix +++ b/hosts/nb-01.cloonar.com/hardware-configuration.nix @@ -22,20 +22,22 @@ options = [ "subvol=root" ]; }; - boot.initrd.luks = { - fido2Support = true; - # yubikeySupport = true; - devices."nixos-enc" = { - device = "/dev/disk/by-uuid/7435d48f-f942-485b-9817-328ad3fc0b93"; - fido2.passwordLess = true; - # yubikey = { - # slot = 2; - # twoFactor = false; - # storage = { - # device = "/dev/disk/by-uuid/C281-E509"; - # }; - # }; + boot.initrd = { + luks = { + # yubikeySupport = true; + devices."nixos-enc" = { + crypttabExtraOpts = [ "fido2-device=auto" ]; + device = "/dev/disk/by-uuid/7435d48f-f942-485b-9817-328ad3fc0b93"; + # yubikey = { + # slot = 2; + # twoFactor = false; + # storage = { + # device = "/dev/disk/by-uuid/C281-E509"; + # }; + # }; + }; }; + systemd.enable = true; }; fileSystems."/home" =