common/sudo: misc config

This commit is contained in:
Oystein Kristoffer Tveit 2024-09-01 03:17:15 +02:00
parent f3e094520e
commit 4d65b9fd1d
Signed by: oysteikt
GPG Key ID: 9F2F7D8250F35146
1 changed files with 5 additions and 0 deletions

View File

@ -45,6 +45,11 @@
programs.zsh.enable = true; programs.zsh.enable = true;
security.sudo.execWheelOnly = true;
security.sudo.extraConfig = ''
Defaults lecture = never
'';
users.groups."drift".name = "drift"; users.groups."drift".name = "drift";
# Trusted users on the nix builder machines # Trusted users on the nix builder machines