custom service hostname fix
This commit is contained in:
parent
dd405780a0
commit
45622da8ac
@ -59,7 +59,7 @@ if [[ $? -eq 0 ]]; then
|
|||||||
# NixOS rebuild
|
# NixOS rebuild
|
||||||
cd "${CONFIG_DIR}"
|
cd "${CONFIG_DIR}"
|
||||||
gum spin --spinner dot --title "Rebuilding NixOS..." -- \
|
gum spin --spinner dot --title "Rebuilding NixOS..." -- \
|
||||||
nixos-rebuild switch --flake .#server
|
nixos-rebuild switch --flake .#$(hostname)
|
||||||
|
|
||||||
gum style --foreground 212 "✅ Service deployed successfully!"
|
gum style --foreground 212 "✅ Service deployed successfully!"
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user