Allow other users outside of wheel group to run sudo command
This is mostly for `btrbk` service, in particular.
This commit is contained in:
parent
ea91d14dda
commit
04efc21739
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue