feat: configure metallb

This commit is contained in:
2025-12-22 19:53:54 -08:00
parent 559746134c
commit 3302b71a39
5 changed files with 32 additions and 20 deletions

11
nix/homelab/update-node.sh Executable file
View File

@@ -0,0 +1,11 @@
#!/usr/bin/env bash
set -e
HOST="$1"
if [ -z "$HOST" ]; then
echo "Usage: $0 <ip-or-hostname>"
exit 1
fi
ssh "$HOST" "cd ~/dotfiles && git pull && sudo nixos-rebuild switch --flake ~/dotfiles/nix/homelab --impure"