From 548de49ccacaa696297f3dd220e9be19489a0453 Mon Sep 17 00:00:00 2001 From: jopejoe1 Date: Wed, 23 Aug 2023 21:41:32 +0200 Subject: [PATCH] -r should be at the end and not the beginning --- 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 f52f94c..357d184 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 -r -C /var/lib/repo-sync pull codeberg - ${pkgs.git}/bin/git -r -C /var/lib/repo-sync pull github - ${pkgs.git}/bin/git -r -C /var/lib/repo-sync pull gitlab + ${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 push origin ''; serviceConfig = {