summaryrefslogtreecommitdiffstats
path: root/krebs/3modules
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2021-01-18 23:13:21 +0100
committertv <tv@krebsco.de>2021-01-18 23:13:21 +0100
commit0a09093b4185d8fa222b0d2e37bda279aa69d2a7 (patch)
tree7b2cab457dc3fabcada16e74096e33274f9a92ce /krebs/3modules
parentff6f5ef5e1cdbd27b2211c54643fa2754f888cbb (diff)
repo-sync: use cfg.privateKeyFile.path
Diffstat (limited to 'krebs/3modules')
-rw-r--r--krebs/3modules/repo-sync.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/krebs/3modules/repo-sync.nix b/krebs/3modules/repo-sync.nix
index 91111f3eb..f9877c0f8 100644
--- a/krebs/3modules/repo-sync.nix
+++ b/krebs/3modules/repo-sync.nix
@@ -176,7 +176,7 @@ let
];
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";
};