change luks

This commit is contained in:
2023-11-23 00:49:24 +01:00
parent 33aa510335
commit 64dab4fdf3

View File

@@ -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";