diff options
Diffstat (limited to 'custom/tinc/yggdrasil.nix')
-rw-r--r-- | custom/tinc/yggdrasil.nix | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/custom/tinc/yggdrasil.nix b/custom/tinc/yggdrasil.nix index f5684d08..abc0eb14 100644 --- a/custom/tinc/yggdrasil.nix +++ b/custom/tinc/yggdrasil.nix | |||
@@ -53,15 +53,6 @@ in { | |||
53 | PingTimeout = 30 | 53 | PingTimeout = 30 |
54 | ${optionalString cfg.connect "ConnectTo = ymir"} | 54 | ${optionalString cfg.connect "ConnectTo = ymir"} |
55 | ''; | 55 | ''; |
56 | scripts = { | ||
57 | "tinc-up" = '' | ||
58 | #!${pkgs.stdenv.shell} | ||
59 | |||
60 | set -e | ||
61 | MACFILE="/var/db/$NETNAME.mac" | ||
62 | [ -e $MACFILE ] && ${pkgs.iproute}/bin/ip link set dev $INTERFACE address `cat $MACFILE` || cat /sys/class/net/$INTERFACE/address >$MACFILE | ||
63 | ''; | ||
64 | }; | ||
65 | }; | 56 | }; |
66 | }; | 57 | }; |
67 | } | 58 | } |