tinc tinc-up: don't rely on store path interpreter

This commit is contained in:
lassulus 2022-03-01 14:20:57 +01:00
parent a67ded588b
commit 6002189225

View File

@ -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}
'';