mirror of
https://github.com/juspay/services-flake.git
synced 2024-09-11 12:26:04 +03:00
NixOS-like services for Nix flakes
.github/workflows | ||
dev | ||
doc | ||
example | ||
nix | ||
test | ||
.envrc | ||
.gitignore | ||
flake.nix | ||
LICENSE | ||
README.md |
services-flake
Note
🚧 Work in Progress
NixOS-like services for Nix flakes, as a process-compose-flake module (based on flake-parts).
Getting Started
TODO
(But see ./test/flake.nix
)
Services available
- PostgreSQL
- MySQL
- Redis
- ...
Contributing
- If you are adding a new service, see https://github.com/cachix/devenv/tree/main/src/modules/services for inspiration.
- When opening a PR, note that we do not have CI yet, so please run
nix run github:srid/nixci
1 locally on your NixOS machine.
Credits
Thanks to the devenv project on which much of our services implementation is based on.
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
-
Run
nix run nixpkgs#cachix use srid
to make use of Nix cache for nixci. ↩︎