nixos-config/common/components/security.nix

5 lines
137 B
Nix
Raw Normal View History

2024-04-22 21:01:29 +02:00
{
# sudo and nix can only be used by the wheel group
nix.settings.allowed-users = ["@wheel"];
security.sudo.execWheelOnly = true;
}