better sudo config

This commit is contained in:
Christoph Cullmann 2023-01-16 00:03:51 +01:00
parent a3576e284b
commit 88d9eb5195

View file

@ -340,6 +340,12 @@ in
virtualisation.virtualbox.host.enable = true;
users.extraGroups.vboxusers.members = [ "cullmann" ];
# configure sudo
security.sudo.execWheelOnly = true;
security.sudo.extraConfig = ''
Defaults lecture = never
'';
###
### per user configuration below
###