diff --git a/nixos/common/default.nix b/nixos/common/default.nix index 2b2e1c9..8d94f4e 100644 --- a/nixos/common/default.nix +++ b/nixos/common/default.nix @@ -38,6 +38,9 @@ # Allow sudo from the @wheel group security.sudo.enable = true; + security.sudo.extraConfig = '' + Defaults lecture = never + ''; # Ensure a clean & sparkling /tmp on fresh boots. boot.tmp.cleanOnBoot = lib.mkDefault true;