diff options
author | lassulus <lassulus@lassul.us> | 2022-03-01 14:20:57 +0100 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2022-03-01 14:20:57 +0100 |
commit | 6002189225e347418f07a99d6a85b033fa0edaf7 (patch) | |
tree | 760b73f0b956b3646572d65f55792745b10f7df4 /krebs/3modules | |
parent | a67ded588b45c09ca58a3b4007a8d32e42323613 (diff) |
tinc tinc-up: don't rely on store path interpreter
Diffstat (limited to 'krebs/3modules')
-rw-r--r-- | krebs/3modules/tinc.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/krebs/3modules/tinc.nix b/krebs/3modules/tinc.nix index bc85aa0a6..e9d1b30ae 100644 --- a/krebs/3modules/tinc.nix +++ b/krebs/3modules/tinc.nix @@ -25,7 +25,8 @@ with import <stockholm/lib>; Port = ${toString tinc.config.host.nets.${netname}.tinc.port} ${tinc.config.extraConfig} ''; - "tinc-up" = pkgs.writeDash "${netname}-tinc-up" '' + "tinc-up" = pkgs.writeScript "${netname}-tinc-up" '' + #!/bin/sh ip link set ${netname} up ${tinc.config.tincUp} ''; |