diff --git a/modules/homelab/backups/default.nix b/modules/homelab/backups/default.nix index f6f4dbc..2de2aae 100644 --- a/modules/homelab/backups/default.nix +++ b/modules/homelab/backups/default.nix @@ -36,7 +36,7 @@ in { encryption.passCommand = "cat ${sec."borg_passwd".path}"; preHook = '' systemctl start mysql-backup.service - sudo systemctl start $(systemctl list-unit-files 'postgresqlBackup-*.service' --no-legend --no-pager | cut -d' ' -f1) + systemctl start $(systemctl list-unit-files 'postgresqlBackup-*.service' --no-legend --no-pager | cut -d' ' -f1) ''; extraArgs = ["--verbose" "--show-rc" "--umask" "0007"]; extraCreateArgs = ["--list" "--stats" "--filter" "AME"];