repo-sync: use cfg.privateKeyFile.path

This commit is contained in:
tv 2021-01-18 23:13:21 +01:00
parent ff6f5ef5e1
commit 0a09093b41

View File

@ -176,7 +176,7 @@ let
]; ];
environment = { environment = {
GIT_SSH_COMMAND = "${pkgs.openssh}/bin/ssh -i ${cfg.stateDir}/ssh.priv"; GIT_SSH_COMMAND = "${pkgs.openssh}/bin/ssh -i ${cfg.privateKeyFile.path}";
REPONAME = "${name}.git"; REPONAME = "${name}.git";
}; };