Whew, this is a big one. But, in line with #1, this PR makes the first steps to transition (🏳️⚧️) this repo to something that can be consumed through Nix. There's a few things happening in here, so hopefully I've done a good enough job describing it all in the README, and giving an example of it's usage in template.
If you want to test any of this locally, replace the URL for this repo in the setup command and the generated flake's inputs with git+https://codeberg.org/polyphony/workflows?ref=nix. Should work, it's what I've been doing to test anyway.
There's still a few things that need to be tackled:
- Actually convert the workflows over. I'm going to hold off on that until polyphony/chorus#631 is good to go, so we can take it's common bits and bring them in here.
- Automatic
docs.md generation somehow, so we don't need to manually keep it in sync with the modules themselves.
This should be a good start, though. Feel free to hit me with any questions about this one.
Whew, this is a big one. But, in line with #1, this PR makes the first steps to transition (🏳️⚧️) this repo to something that can be consumed through Nix. There's a few things happening in here, so hopefully I've done a good enough job describing it all in the README, and giving an example of it's usage in `template`.
If you want to test any of this locally, replace the URL for this repo in the setup command and the generated flake's inputs with `git+https://codeberg.org/polyphony/workflows?ref=nix`. Should work, it's what I've been doing to test anyway.
There's still a few things that need to be tackled:
- Actually convert the workflows over. I'm going to hold off on that until polyphony/chorus#631 is good to go, so we can take it's common bits and bring them in here.
- Automatic `docs.md` generation somehow, so we don't need to manually keep it in sync with the modules themselves.
This should be a good start, though. Feel free to hit me with any questions about this one.