update domain script

This commit is contained in:
2026-03-27 19:20:39 -05:00
parent 87ce6c9b47
commit 6eadadb62b

View File

@@ -330,14 +330,14 @@ $PENDING_NJALLA"
echo "" echo ""
printf "%b%s%b\n" "$CYAN" "" "$NC" printf "%b%s%b\n" "$CYAN" "" "$NC"
printf "%b%s%b\n" "$CYAN" " New Domains Added!" "$NC" printf "%b%s%b\n" "$CYAN" " New Domains Added!" "$NC"
printf "%b%s%b\n" "$CYAN" "<EFBFBD><EFBFBD><EFBFBD>" "$NC" printf "%b%s%b\n" "$CYAN" "" "$NC"
echo "" echo ""
echo " All configured domains:" echo " All configured domains:"
${domainSummary} ${domainSummary}
echo "" echo ""
printf "%b%s%b\n" "$YELLOW" " Rebuilding to activate services with new domains..." "$NC" printf "%b%s%b\n" "$YELLOW" " Rebuilding to activate services with new domains..." "$NC"
echo "" echo ""
nixos-rebuild switch --flake /etc/nixos#nixos nixos-rebuild switch --impure
''; '';
needsSetup = pkgs.writeShellScriptBin "sovran-domains-need-setup" '' needsSetup = pkgs.writeShellScriptBin "sovran-domains-need-setup" ''