2 Commits

Author SHA1 Message Date
89fb397639 borgmatic: only add postgres to closure if enabled
All checks were successful
Check flake / build-amd64-linux (push) Successful in 1m21s
2025-06-20 16:48:49 +01:00
33cc641030 nix: update aarch64-linux builder IP 2025-06-20 16:40:02 +01:00
2 changed files with 3 additions and 2 deletions

View File

@ -76,7 +76,7 @@
'';
buildMachines = [
{
hostName = "10.0.1.79";
hostName = "10.0.1.235";
sshUser = "root";
system = "aarch64-linux";
maxJobs = 6;

View File

@ -64,7 +64,8 @@ in
];
# Add `pg_dumpall` to unit environment
systemd.services.borgmatic.path = [ config.services.postgresql.package ];
systemd.services.borgmatic.path =
if config.services.postgresql.enable then [ config.services.postgresql.package ] else [ ];
# Without this override, `cat` is unavailable for `encryption_passcommand`
systemd.services.borgmatic.confinement.fullUnit = true;