Disable sudo lecture

This commit is contained in:
Jelle Besseling 2023-11-04 09:24:25 +01:00 committed by GitHub
parent 5c485bc3dc
commit b87e63bf9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -38,6 +38,9 @@
# Allow sudo from the @wheel group
security.sudo.enable = true;
security.sudo.extraConfig = ''
Defaults lecture = never
'';
# Ensure a clean & sparkling /tmp on fresh boots.
boot.tmp.cleanOnBoot = lib.mkDefault true;