fix(inadyn): fix ipv6 command
This commit is contained in:
parent
e6cbcf338e
commit
f5efff8653
|
@ -79,9 +79,9 @@ in
|
||||||
''}";
|
''}";
|
||||||
services.inadyn.ipv6.enable = true;
|
services.inadyn.ipv6.enable = true;
|
||||||
services.inadyn.ipv6.command = "${pkgs.writeScript "get-ipv6" ''
|
services.inadyn.ipv6.command = "${pkgs.writeScript "get-ipv6" ''
|
||||||
${pkgs.iproute2}/bin/ip -6 --brief addr show enp2s0 mngtmpaddr \
|
${pkgs.tailscale}/bin/tailscale status --json \
|
||||||
| ${pkgs.gawk}/bin/awk '{print $(NF)}' \
|
| ${pkgs.jq}/bin/jq -r '.Self.Addrs' \
|
||||||
| cut -f1 -d'/'
|
| grep -o '[0-9a-f:]*::102'
|
||||||
''}";
|
''}";
|
||||||
services.inadyn.domains = [
|
services.inadyn.domains = [
|
||||||
"felschr.com"
|
"felschr.com"
|
||||||
|
|
Loading…
Reference in a new issue