From 8f5f975d838e1ec3ef6ff97aa6e4b76a5c2a585b Mon Sep 17 00:00:00 2001 From: beatzaplenty Date: Tue, 14 Apr 2026 23:05:01 +0000 Subject: [PATCH] Update hosts/docker/configuration.nix --- hosts/docker/configuration.nix | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/hosts/docker/configuration.nix b/hosts/docker/configuration.nix index e80013a..a368e40 100644 --- a/hosts/docker/configuration.nix +++ b/hosts/docker/configuration.nix @@ -39,6 +39,24 @@ in nfs-utils ]; + services.logrotate = { + enable = true; + + settings = { + "/mnt/docker-persistent-data/docker/core/traefik/data/logs/*.log" = { + daily = true; + rotate = 14; + compress = true; + delaycompress = true; + missingok = true; + notifempty = true; + copytruncate = true; + }; + + }; + }; + + boot.supportedFilesystems = [ "nfs" ]; services.rpcbind.enable = true;