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