aboutsummaryrefslogtreecommitdiff
path: root/nix/per-host/git/configuration.nix
diff options
context:
space:
mode:
authorKumar Damani <me@kumardamani.net>2026-09-08 21:24:36 +0000
committerKumar Damani <me@kumardamani.net>2026-09-08 21:24:36 +0000
commite670053b30b34e52fa5da360fdce0e8ad7ece651 (patch)
treecc7241b068e5bb597b3e69272d82f78d6f2e3271 /nix/per-host/git/configuration.nix
parent8c11bcea7cf21619343e49b926c6113a08090893 (diff)
routine updates
Diffstat (limited to 'nix/per-host/git/configuration.nix')
-rw-r--r--nix/per-host/git/configuration.nix12
1 files changed, 12 insertions, 0 deletions
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";
+ };
+ };
+ };
};
}