fix: fido2 disk encryption
This commit is contained in:
parent
d9501b19ad
commit
fe0f98b3f0
1 changed files with 7 additions and 4 deletions
|
@ -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 = {
|
||||||
|
|
Loading…
Reference in a new issue