fix systemrebuild on add services
This commit is contained in:
@ -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 .#nixos
|
nixos-rebuild switch --flake .#server
|
||||||
|
|
||||||
gum style --foreground 212 "✅ Service deployed successfully!"
|
gum style --foreground 212 "✅ Service deployed successfully!"
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user