diff --git a/modules/homelab/system/backups/default.nix b/modules/homelab/system/backups/default.nix index 31d07cc..99e8d24 100644 --- a/modules/homelab/system/backups/default.nix +++ b/modules/homelab/system/backups/default.nix @@ -73,7 +73,7 @@ in { systemctl start mysql-backup.service systemctl start $(systemctl list-unit-files 'postgresqlBackup-*.service' --no-legend --no-pager | cut -d' ' -f1) ''; - postHook = lib.mkIf cfg.offsite'' + postHook = lib.mkIf cfg.offsite '' ${pkgs.sshpass}/bin/sshpass -f ${sec."lifeboat_rsync".path} \ ${pkgs.rsync}/bin/rsync -aHAX --partial --numeric-ids --info=progress2,name1,stats2 --delete \ -e "ssh -o StrictHostKeyChecking=no" \