falkenstein: remove syslog

This commit is contained in:
Rouven Seifert 2024-05-31 14:50:27 +02:00
parent f829430b35
commit d96a4a341c
3 changed files with 0 additions and 56 deletions

View file

@ -6,7 +6,6 @@
./hardware-configuration.nix
./modules/backup
./modules/caddy
./modules/logging
./modules/dns
./modules/fail2ban
./modules/mail

View file

@ -1,29 +0,0 @@
{ pkgs, ... }:
{
services.rsyslogd = {
enable = true;
defaultConfig = ''
:programname, isequal, "postfix" /var/log/postfix.log
auth.* -/var/log/auth.log
'';
};
services.logrotate.configFile = pkgs.writeText "logrotate.conf" ''
weekly
missingok
notifempty
rotate 4
"/var/log/postfix.log" {
compress
delaycompress
weekly
rotate 156
}
'';
# "/var/log/caddy/*.log" {
# compress
# delaycompress
# weekly
# rotate 26
# }
}