Sudo auth

This commit is contained in:
Alexander Bantyev 2020-02-28 13:55:07 +03:00
parent fcf3ce0660
commit a745ea77df
Signed by: balsoft
GPG Key ID: E081FF12ADCB4AD5
1 changed files with 4 additions and 0 deletions

View File

@ -15,6 +15,10 @@
NIX_AUTO_RUN = "1"; NIX_AUTO_RUN = "1";
}; };
services.atd.enable = true; services.atd.enable = true;
security.pam.services.sudo = {
u2fAuth.enable = true;
unixAuth = false;
};
home-manager.users.balsoft = { home-manager.users.balsoft = {
xdg.enable = true; xdg.enable = true;