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