change luks
This commit is contained in:
@@ -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" =
|
||||
|
||||
Reference in New Issue
Block a user