better sudo config
This commit is contained in:
parent
a3576e284b
commit
88d9eb5195
|
@ -340,6 +340,12 @@ in
|
||||||
virtualisation.virtualbox.host.enable = true;
|
virtualisation.virtualbox.host.enable = true;
|
||||||
users.extraGroups.vboxusers.members = [ "cullmann" ];
|
users.extraGroups.vboxusers.members = [ "cullmann" ];
|
||||||
|
|
||||||
|
# configure sudo
|
||||||
|
security.sudo.execWheelOnly = true;
|
||||||
|
security.sudo.extraConfig = ''
|
||||||
|
Defaults lecture = never
|
||||||
|
'';
|
||||||
|
|
||||||
###
|
###
|
||||||
### per user configuration below
|
### per user configuration below
|
||||||
###
|
###
|
||||||
|
|
Loading…
Reference in a new issue