custom service hostname fix

This commit is contained in:
m3tam3re 2025-04-11 11:29:57 +02:00
parent dd405780a0
commit 45622da8ac

View File

@ -59,7 +59,7 @@ if [[ $? -eq 0 ]]; then
# NixOS rebuild
cd "${CONFIG_DIR}"
gum spin --spinner dot --title "Rebuilding NixOS..." -- \
nixos-rebuild switch --flake .#server
nixos-rebuild switch --flake .#$(hostname)
gum style --foreground 212 "✅ Service deployed successfully!"
else