feat: confine sudo access to users with the wheel group only
This commit is contained in:
parent
96e1951ecf
commit
a62a9b6990
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