summaryrefslogtreecommitdiffstats
path: root/krebs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2023-05-02 20:39:46 +0200
committertv <tv@krebsco.de>2023-05-02 20:39:46 +0200
commitb60be1128bf5525cf78b9b57afd19e001cd5a9d3 (patch)
treef742fb67cec25b68dde71e6b0d822d1c45bb0350 /krebs
parent3cc91cc0dafa1b299100f06c8389d04d8b95d3b3 (diff)
konsens: all directories are safe
Diffstat (limited to 'krebs')
-rw-r--r--krebs/3modules/konsens.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/krebs/3modules/konsens.nix b/krebs/3modules/konsens.nix
index 439bcc7f4..d27a702fb 100644
--- a/krebs/3modules/konsens.nix
+++ b/krebs/3modules/konsens.nix
@@ -66,6 +66,8 @@ let
Type = "simple";
PermissionsStartOnly = true;
ExecStart = pkgs.writeDash "konsens-${name}" ''
+ set -efu
+ git config --global --replace-all safe.directory *
if ! test -e ${name}; then
git clone ${repo.url} ${name}
fi