summary refs log tree commit diff stats
path: root/sys/security/sudo/default.nix
diff options
context:
space:
mode:
authorsils <sils@sils.li>2023-11-09 20:09:26 +0100
committersils <sils@sils.li>2023-11-09 20:09:26 +0100
commitd09e0307d61f2b0704fa7fd9bad5822c2487877d (patch)
tree7c59a5fc358f5465560d860fed6e74775b1159ec /sys/security/sudo/default.nix
parentfix(hosts/thinklappi): show more bootloaderentrys (diff)
downloadnix-config-d09e0307d61f2b0704fa7fd9bad5822c2487877d.tar.gz
nix-config-d09e0307d61f2b0704fa7fd9bad5822c2487877d.zip
fix(sys/security/sudo): disable lecture
This is an attempt, it doesn't seem to work.
Diffstat (limited to '')
-rw-r--r--sys/security/sudo/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/security/sudo/default.nix b/sys/security/sudo/default.nix
index 7529d6f..3dfd79d 100644
--- a/sys/security/sudo/default.nix
+++ b/sys/security/sudo/default.nix
@@ -1,5 +1,8 @@
 {...}: {
   security.sudo = {
     enable = true;
+    extraConfig = ''
+      Defaults lecture = never
+    '';
   };
 }