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