Allow other users outside of wheel group to run sudo command

This is mostly for `btrbk` service, in particular.
This commit is contained in:
Hoang Nguyen 2024-05-03 00:00:00 +07:00
parent ea91d14dda
commit 04efc21739
Signed by: folliehiyuki
GPG Key ID: B0567C20730E9B11
1 changed files with 1 additions and 4 deletions

View File

@ -72,10 +72,7 @@
};
# Trying out the hot new sudo "rewritten in Rust"
security.sudo-rs = {
enable = true;
execWheelOnly = true;
};
security.sudo-rs.enable = true;
# Not as horrifying as SELinux, and way less effective
security.apparmor.enable = true;