diff options
-rw-r--r-- | machines/srv1/configuration.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/machines/srv1/configuration.nix b/machines/srv1/configuration.nix index ea7d730..bbf35ec 100644 --- a/machines/srv1/configuration.nix +++ b/machines/srv1/configuration.nix @@ -15,7 +15,7 @@ let name=`echo "$1" | rev | cut -d'/' -f1 | rev` cd /srv/git - ${pkgs.git}/bin/git clone --mirror $1 $name + sudo -u git ${pkgs.git}/bin/git clone --mirror $1 $name ''; in { @@ -200,7 +200,7 @@ in ''; serviceConfig = { Type = "oneshot"; - User = "pn"; + User = "git"; }; }; timers.git-fetch = { |