From 9504c73ca99be48498b19b76891e7a113da4ea74 Mon Sep 17 00:00:00 2001 From: Michael Huebner Date: Wed, 2 Apr 2025 09:19:17 +0200 Subject: [PATCH] Add backup script --- git_system.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/git_system.nix b/git_system.nix index 964c267..fe59903 100644 --- a/git_system.nix +++ b/git_system.nix @@ -92,7 +92,7 @@ in RENOVATE_TOKEN = "/etc/renovate/token"; }; settings = { - endpoint = "http://.de/api/v1/"; + endpoint = "http://.de/api/v1/"; persistRepoData = true; platform = "forgejo"; autodiscover = true; @@ -106,7 +106,7 @@ in cron = { enable = true; systemCronJobs = [ - "* * * * * root ls -l / > /tmp/cronout 2>&1" + "00 03 * * * forgejo sh backup_forgejo.sh -d /var/lib/forgejo -u TODO -s TODO -p TODO" ]; }; };