From e670053b30b34e52fa5da360fdce0e8ad7ece651 Mon Sep 17 00:00:00 2001 From: Kumar Damani Date: Tue, 8 Sep 2026 17:24:36 -0400 Subject: routine updates --- nix/per-host/git/configuration.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'nix/per-host/git') diff --git a/nix/per-host/git/configuration.nix b/nix/per-host/git/configuration.nix index d7c4cc4..65e5636 100644 --- a/nix/per-host/git/configuration.nix +++ b/nix/per-host/git/configuration.nix @@ -86,6 +86,7 @@ in openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAYYjB+fK4JFlJSY6Ax48p38eSuDG12VQVqP+WSrWGuO" "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICibsvCxDu0uC0yAKasqV6hApgVr83JIuEN9dcsXHxeN" + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILD30HCL18K56oUNMvnwqMsnmJbqXuieVfHnqCnksrqR" ]; }; users.groups.git = { }; @@ -138,5 +139,16 @@ in # Headroom for large git operations swapDevices = [ { device = "/var/lib/swapfile"; size = 2048; } ]; + services.logrotate = { + enable = true; + settings = { + "nginx" = { + files = [ "/var/log/nginx/*.log" ]; + frequency = "hourly"; + rotate = 3; + size = "10M"; + }; + }; + }; }; } -- cgit v1.2.3