summaryrefslogtreecommitdiffstats
path: root/krebs/3modules
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2022-03-06 10:50:41 +0100
committertv <tv@krebsco.de>2022-03-06 10:50:41 +0100
commit560371d038888dc028bdda51d55ff81cbf82eeb9 (patch)
tree60936c682532aa4c873a3443c4c5ca876409e351 /krebs/3modules
parent5182daaaf4cadaba84331a34b5455bf9dff131b6 (diff)
Revert "tinc tinc-up: don't rely on store path interpreter"
This reverts commit 6002189225e347418f07a99d6a85b033fa0edaf7.
Diffstat (limited to 'krebs/3modules')
-rw-r--r--krebs/3modules/tinc.nix3
1 files changed, 1 insertions, 2 deletions
diff --git a/krebs/3modules/tinc.nix b/krebs/3modules/tinc.nix
index 1b28628d6..96d17e2de 100644
--- a/krebs/3modules/tinc.nix
+++ b/krebs/3modules/tinc.nix
@@ -26,8 +26,7 @@ with import <stockholm/lib>;
Port = ${toString tinc.config.host.nets.${netname}.tinc.port}
${tinc.config.extraConfig}
'';
- "tinc-up" = pkgs.writeScript "${netname}-tinc-up" ''
- #!/bin/sh
+ "tinc-up" = pkgs.writeDash "${netname}-tinc-up" ''
ip link set ${netname} up
${tinc.config.tincUp}
'';