services-flake/README.md

38 lines
1.0 KiB
Markdown
Raw Normal View History

2023-06-20 00:44:27 +03:00
# services-flake
2023-06-27 17:46:41 +03:00
> **Note**
>
> 🚧 Work in Progress
NixOS-like services for Nix flakes, as a [process-compose-flake](https://github.com/Platonic-Systems/process-compose-flake) module (based on flake-parts).
## Getting Started
TODO
- Use direnv to enter the devShell
- Add tests to `./dev/flake.nix`
2023-06-20 01:01:04 +03:00
## Services available
- [x] Hello World
2023-06-21 17:00:29 +03:00
- [x] PostgreSQL
- [ ] MySQL
2023-07-10 18:14:26 +03:00
- [x] Redis
- [ ] ...
## Contributing
2023-06-20 01:02:41 +03:00
- If you are adding a *new* service, see https://github.com/cachix/devenv/tree/main/src/modules/services for inspiration.
2023-06-21 17:00:29 +03:00
- When opening a PR, note that we do not have CI yet, so please run `./test.sh` locally on your **NixOS** machine.
## Credits
2023-06-21 17:00:29 +03:00
Thanks to [the devenv project](https://github.com/cachix/devenv/tree/main/src/modules/services) on which much of our services implementation is based on.
2023-06-27 03:56:27 +03:00
## FAQ
### Why not re-use devenv service modules?
This is currently not possible (nor prioritized by the devenv project), which is why we must create our own services. See https://github.com/cachix/devenv/issues/75