change backup frequency

This commit is contained in:
cy 2025-04-21 13:53:21 -04:00
parent a7de77a0fc
commit 48d8bacea8
Signed by: cy
SSH key fingerprint: SHA256:o/geVWV4om1QhUSkKvDQeW/eAihwnjyXkqMwrVdbuts
4 changed files with 7 additions and 8 deletions

View file

@ -53,6 +53,7 @@
toolchain: toolchain:
toolchain.default.override { toolchain.default.override {
extensions = [ "rust-src" ]; extensions = [ "rust-src" ];
targets = [ "aarch64-unknown-linux-musl" ];
} }
)) ))
pwgen pwgen

View file

@ -19,8 +19,5 @@
} }
]; ];
}; };
services.postgresqlBackup = { services.postgresqlBackup.enable = true;
enable = true;
startAt = "hourly";
};
} }

View file

@ -87,7 +87,7 @@
resolvconf.enable = true; resolvconf.enable = true;
firewall = { firewall = {
enable = true; enable = true;
trustedInterfaces = [ "tailscale0" ]; trustedInterfaces = [ "tailscale0" "virbr0" ];
# allowedTCPPorts = [ # allowedTCPPorts = [
# 8080 # mitmproxy # 8080 # mitmproxy
# 22000 # syncthing # 22000 # syncthing

View file

@ -47,7 +47,7 @@ in
}; };
startAt = lib.mkOption { startAt = lib.mkOption {
type = lib.types.str; type = lib.types.str;
default = "hourly"; default = "daily";
description = "see systemd.timer(5)"; description = "see systemd.timer(5)";
}; };
jobName = lib.mkOption { jobName = lib.mkOption {
@ -98,8 +98,9 @@ in
failOnWarnings = false; failOnWarnings = false;
prune.keep = { prune.keep = {
within = "2d"; daily = 7;
daily = 365; weekly = 12;
monthly = -1;
}; };
extraPruneArgs = [ "--stats" ]; extraPruneArgs = [ "--stats" ];
}; };