fix: fido2 disk encryption

This commit is contained in:
Ashhhleyyy 2024-03-22 09:53:29 +00:00
parent d9501b19ad
commit fe0f98b3f0
Signed by: ash
GPG key ID: 83B789081A0878FB

View file

@ -10,10 +10,12 @@
./hardware-config.nix ./hardware-config.nix
]; ];
boot.initrd.luks.devices.root = { boot.initrd.luks = {
device = "/dev/disk/by-uuid/00f32b39-dfcb-4459-bf8e-aa68e2198466"; devices.root = {
preLVM = true; device = "/dev/disk/by-uuid/00f32b39-dfcb-4459-bf8e-aa68e2198466";
allowDiscards = true; preLVM = true;
allowDiscards = true;
};
}; };
networking.hostName = "alex"; networking.hostName = "alex";
@ -33,6 +35,7 @@
security.pam.services = { security.pam.services = {
kde.u2fAuth = true; kde.u2fAuth = true;
sddm.u2fAuth = true; sddm.u2fAuth = true;
doas.u2fAuth = true;
}; };
services.xserver = { services.xserver = {