base/maintenance: add journald log rotation config
This commit is contained in:
@@ -17,4 +17,12 @@ with lib;
|
||||
dates = "weekly";
|
||||
options = "--delete-older-than 14d";
|
||||
};
|
||||
|
||||
services.journald.extraConfig = ''
|
||||
SystemMaxUse=1G
|
||||
SystemKeepFree=5G
|
||||
SystemMaxFileSize=100M
|
||||
SystemMaxFiles=10
|
||||
MaxRetentionSec=7day
|
||||
'';
|
||||
}
|
||||
|
Reference in New Issue
Block a user