feat: enable u2f login/sudo on desktops

This commit is contained in:
Ashhhleyyy 2024-03-09 14:06:11 +00:00
parent ea76bf90d1
commit d2f6c0eb26
Signed by: ash
GPG key ID: 83B789081A0878FB
2 changed files with 10 additions and 0 deletions

View file

@ -16,5 +16,10 @@
}; };
boot.initrd.systemd.enable = true; boot.initrd.systemd.enable = true;
security.pam.services = {
login.u2fAuth = true;
sudo.u2fAuth = true;
};
programs.adb.enable = true; programs.adb.enable = true;
} }

View file

@ -30,6 +30,11 @@
pulse.enable = true; pulse.enable = true;
}; };
security.pam.services = {
kde.u2fAuth = true;
sddm.u2fAuth = true;
};
services.xserver = { services.xserver = {
enable = true; enable = true;
# displayManager.gdm.enable = true; # displayManager.gdm.enable = true;