disable sudo lecture

This commit is contained in:
andromeda
2026-01-09 23:38:21 +01:00
parent 0658c5d898
commit 3f1b2d8789
2 changed files with 4 additions and 1 deletions

View File

@@ -17,4 +17,7 @@
boot.tmp.cleanOnBoot = true;
networking.domain = lib.mkDefault config.networking.hostName;
# disable lecture
security.sudo.extraConfig = ''Defaults lecture="never"'';
}