change luks
This commit is contained in:
@@ -22,20 +22,22 @@
|
|||||||
options = [ "subvol=root" ];
|
options = [ "subvol=root" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
boot.initrd.luks = {
|
boot.initrd = {
|
||||||
fido2Support = true;
|
luks = {
|
||||||
# yubikeySupport = true;
|
# yubikeySupport = true;
|
||||||
devices."nixos-enc" = {
|
devices."nixos-enc" = {
|
||||||
device = "/dev/disk/by-uuid/7435d48f-f942-485b-9817-328ad3fc0b93";
|
crypttabExtraOpts = [ "fido2-device=auto" ];
|
||||||
fido2.passwordLess = true;
|
device = "/dev/disk/by-uuid/7435d48f-f942-485b-9817-328ad3fc0b93";
|
||||||
# yubikey = {
|
# yubikey = {
|
||||||
# slot = 2;
|
# slot = 2;
|
||||||
# twoFactor = false;
|
# twoFactor = false;
|
||||||
# storage = {
|
# storage = {
|
||||||
# device = "/dev/disk/by-uuid/C281-E509";
|
# device = "/dev/disk/by-uuid/C281-E509";
|
||||||
# };
|
# };
|
||||||
# };
|
# };
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
systemd.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/home" =
|
fileSystems."/home" =
|
||||||
|
|||||||
Reference in New Issue
Block a user