477 current 2025-07-09 20:21:45 25.05.20250424.f771eb4 6.12.24 *

This commit is contained in:
2025-07-09 20:22:08 -04:00
parent 4d08a2b88d
commit 1a2879747f

View File

@@ -11,5 +11,5 @@
awk = "/run/current-system/sw/bin/awk"; awk = "/run/current-system/sw/bin/awk";
in in
pkgs.writeShellScriptBin "tailscale-ctl" '' pkgs.writeShellScriptBin "tailscale-ctl" ''
tailscale status | rg "$(hostname)" &> /dev/null && echo "%{F#2193ff} %{F#ffffff}[$(ip addr show tailscale0 | rg "inet " | awk '{print $2}' | cut -d'/' -f1 )]" || echo "" tailscale status | rg "$(hostname)" &> /dev/null && echo "%{F#2193ff} %{F#ffffff}[ts $(ip addr show tailscale0 | rg "inet " | awk '{print $2}' | cut -d'/' -f1 )]" || echo ""
'' ''