chore: add nebluaIps nushell function
buildbot/nix-eval Build done. (1 warning)
buildbot/nix-build gitea:greg/nixos#checks.x86_64-linux.nixos-hermes Build done.
buildbot/nix-build Build done.

This commit is contained in:
Greg Hellings
2026-07-21 17:17:04 -05:00
parent d2f7b85283
commit 34ca5aec6b
+4
View File
@@ -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