feat: confine sudo access to users with the wheel group only
This commit is contained in:
parent
07b47366c8
commit
a896a4a87f
1 changed files with 6 additions and 0 deletions
6
modules/nixos/features/sudo.nix
Normal file
6
modules/nixos/features/sudo.nix
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
{
|
||||||
|
security.sudo.execWheelOnly = true;
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue