475 current 2025-07-09 20:17:43 25.05.20250424.f771eb4 6.12.24 *

This commit is contained in:
2025-07-09 20:18:04 -04:00
parent e89b98119b
commit 4d3d15c9f1

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}🔗 [$(ip addr show tailscale0 | rg "inet " | awk '{print $2}' | cut -d'/' -f1 )]" || echo "" tailscale status | rg "$(hostname)" &> /dev/null && echo "%{F#2193ff} %{F#ffffff}[$(ip addr show tailscale0 | rg "inet " | awk '{print $2}' | cut -d'/' -f1 )]" || echo ""
'' ''