Add sudo config
This commit is contained in:
parent
2b4b89f7ea
commit
4637905a96
2 changed files with 6 additions and 0 deletions
|
|
@ -23,6 +23,7 @@
|
|||
./printers
|
||||
./sdr.nix
|
||||
./sshd.nix
|
||||
./sudo.nix
|
||||
./sway.nix
|
||||
./tor.nix
|
||||
./tradebyte
|
||||
|
|
|
|||
5
modules/sudo.nix
Normal file
5
modules/sudo.nix
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
{ pkgs, inputs, ... }:
|
||||
|
||||
{
|
||||
security.sudo.execWheelOnly = true;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue