From d8a56dbc1cd3209584cdcae548007c2686d86eec Mon Sep 17 00:00:00 2001 From: jopejoe1 Date: Wed, 23 Aug 2023 21:50:41 +0200 Subject: [PATCH] also define branch --- modules/services/repo-sync/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/services/repo-sync/default.nix b/modules/services/repo-sync/default.nix index 9c5d77a..f76848e 100644 --- a/modules/services/repo-sync/default.nix +++ b/modules/services/repo-sync/default.nix @@ -12,9 +12,9 @@ systemd.services."repo-sync" = { script = '' - ${pkgs.git}/bin/git -C /var/lib/repo-sync pull -r codeberg - ${pkgs.git}/bin/git -C /var/lib/repo-sync pull -r github - ${pkgs.git}/bin/git -C /var/lib/repo-sync pull -r gitlab + ${pkgs.git}/bin/git -C /var/lib/repo-sync pull -r codeberg/main + ${pkgs.git}/bin/git -C /var/lib/repo-sync pull -r github/main + ${pkgs.git}/bin/git -C /var/lib/repo-sync pull -r gitlab/main ${pkgs.git}/bin/git -C /var/lib/repo-sync push origin ''; path = [pkgs.openssh];