Update modules/users.nix
This commit is contained in:
parent
a7a740915a
commit
595a9fe7c1
@ -51,16 +51,6 @@
|
||||
|
||||
security.pam.services.default = {
|
||||
unixAuth = false;
|
||||
text = lib.mkAfter ''
|
||||
auth required pam_warn.so
|
||||
auth required pam_deny.so
|
||||
account required pam_warn.so
|
||||
account required pam_deny.so
|
||||
password required pam_warn.so
|
||||
password required pam_deny.so
|
||||
session required pam_warn.so
|
||||
session required pam_deny.so
|
||||
'';
|
||||
};
|
||||
|
||||
security.sudo = {
|
||||
|
Loading…
Reference in New Issue
Block a user