diff options
| author | andromeda <andromeda@lenovo> | 2026-01-09 23:38:21 +0100 |
|---|---|---|
| committer | andromeda <andromeda@lenovo> | 2026-01-09 23:38:21 +0100 |
| commit | 3f1b2d87899ea261106bf2cf06fe15f77d51b3fa (patch) | |
| tree | b1f23daf83d1bcf60a95f0cae377aad2b079d40e /modules | |
| parent | 0658c5d898d6267e23d28f60d2c32edcf85d5c06 (diff) | |
disable sudo lecture
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/nixos/common.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/nixos/common.nix b/modules/nixos/common.nix index c0d1d73..94d77d4 100644 --- a/modules/nixos/common.nix +++ b/modules/nixos/common.nix @@ -17,4 +17,7 @@ boot.tmp.cleanOnBoot = true; networking.domain = lib.mkDefault config.networking.hostName; + + # disable lecture + security.sudo.extraConfig = ''Defaults lecture="never"''; } |
