2023-05-01 13:17:21 +02:00
|
|
|
|
# Don't edit this file. Set the NixOS options ‘security.sudo.configFile’
|
|
|
|
|
# or ‘security.sudo.extraRules’ instead.
|
|
|
|
|
|
|
|
|
|
# Set editor to nvim
|
2023-05-05 13:15:46 +02:00
|
|
|
|
Defaults editor=/run/current-system/sw/bin/nvim
|
2023-05-01 13:17:21 +02:00
|
|
|
|
|
|
|
|
|
# Keep SSH_AUTH_SOCK so that pam_ssh_agent_auth.so can do its magic.
|
|
|
|
|
Defaults env_keep+=SSH_AUTH_SOCK
|
|
|
|
|
|
|
|
|
|
# "root" is allowed to do anything.
|
|
|
|
|
root ALL=(ALL:ALL) SETENV: ALL
|
|
|
|
|
|
|
|
|
|
# extraRules
|
|
|
|
|
%wheel ALL=(ALL:ALL) SETENV: ALL
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Keep terminfo database for root and %wheel.
|
|
|
|
|
Defaults:root,%wheel env_keep+=TERMINFO_DIRS
|
|
|
|
|
Defaults:root,%wheel env_keep+=TERMINFO
|