Merge pull request #285 from pingiun/patch-2

Disable sudo lecture
This commit is contained in:
Jonas Chevalier 2023-11-06 16:24:25 +01:00 committed by GitHub
commit c437d6bb59
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;