diff --git a/common.nix b/common.nix index ab37b13..63da7a3 100644 --- a/common.nix +++ b/common.nix @@ -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 ###