From 34ca5aec6b8283c47e398faf3946a7c7abe8d8d3 Mon Sep 17 00:00:00 2001 From: Greg Hellings Date: Tue, 21 Jul 2026 17:17:04 -0500 Subject: [PATCH] chore: add nebluaIps nushell function --- home/baseline/nushell/functions.nu | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/home/baseline/nushell/functions.nu b/home/baseline/nushell/functions.nu index 7cbb42a..74ca665 100644 --- a/home/baseline/nushell/functions.nu +++ b/home/baseline/nushell/functions.nu @@ -12,6 +12,10 @@ def --env unlock [] { } } +def nebulaIps [] { + open ../../network.json | get hosts | items { |h, e| $e.nebulaIp? } | filter { |e| $e != null } | sort +} + def rebuild [ $target: string = "switch" ] { if (uname | get operating-system) == "Darwin" { sudo darwin-rebuild $target