nix: Refactor gh-actions and re-enable nightly builds (#31489)

Now that the nix build is working again, re-enable nightly builds and
refactor the workflow for re-use between nightly releases and CI jobs.

Release Notes:

- N/A

---------

Co-authored-by: Rahul Butani <rrbutani@users.noreply.github.com>
5b6b911946Julia Ryan committed on 5/27/2025, 6:34:15 PM· committed by GitHubparentb9a5d43
5 files changedLine totals unavailable