feat: enable u2f login/sudo on desktops
This commit is contained in:
parent
ea76bf90d1
commit
d2f6c0eb26
2 changed files with 10 additions and 0 deletions
|
@ -16,5 +16,10 @@
|
|||
};
|
||||
boot.initrd.systemd.enable = true;
|
||||
|
||||
security.pam.services = {
|
||||
login.u2fAuth = true;
|
||||
sudo.u2fAuth = true;
|
||||
};
|
||||
|
||||
programs.adb.enable = true;
|
||||
}
|
||||
|
|
|
@ -30,6 +30,11 @@
|
|||
pulse.enable = true;
|
||||
};
|
||||
|
||||
security.pam.services = {
|
||||
kde.u2fAuth = true;
|
||||
sddm.u2fAuth = true;
|
||||
};
|
||||
|
||||
services.xserver = {
|
||||
enable = true;
|
||||
# displayManager.gdm.enable = true;
|
||||
|
|
Loading…
Reference in a new issue