Add sudo config

This commit is contained in:
Jakob Lechner 2022-04-27 10:32:05 +00:00
parent 2b4b89f7ea
commit 4637905a96
No known key found for this signature in database
GPG key ID: 996082EFB5906C10
2 changed files with 6 additions and 0 deletions

View file

@ -23,6 +23,7 @@
./printers
./sdr.nix
./sshd.nix
./sudo.nix
./sway.nix
./tor.nix
./tradebyte

5
modules/sudo.nix Normal file
View file

@ -0,0 +1,5 @@
{ pkgs, inputs, ... }:
{
security.sudo.execWheelOnly = true;
}