nixos-config/common/components/security.nix

6 lines
138 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;
2024-04-22 21:24:54 +02:00
}