aboutsummaryrefslogtreecommitdiff
path: root/nix/per-host/git
diff options
context:
space:
mode:
Diffstat (limited to 'nix/per-host/git')
-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";
+ };
+ };
+ };
};
}