1
Fork 0

Move sudo configuration to security

This commit is contained in:
caem 2024-07-25 21:54:13 +02:00
parent d6f25a0f4e
commit c8636e1d9d
Signed by: caem
GPG key ID: 69A830D03203405F
2 changed files with 4 additions and 4 deletions

View file

@ -1,10 +1,6 @@
{ pkgs, ... }: { pkgs, ... }:
{ {
security.sudo.extraConfig = ''
Defaults lecture="never"
'';
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
fastfetch fastfetch
wget wget

View file

@ -1,6 +1,10 @@
{ ... }: { ... }:
{ {
security.sudo.extraConfig = ''
Defaults lecture="never"
'';
services.clamav = { services.clamav = {
scanner.enable = true; scanner.enable = true;
daemon.enable = true; daemon.enable = true;