87ad31ec21
contributing will appear after Getting started in the sidebar |
||
---|---|---|
.github/workflows | ||
dev | ||
doc | ||
example | ||
nix | ||
test | ||
.envrc | ||
.gitignore | ||
flake.nix | ||
justfile | ||
LICENSE | ||
README.md |
services-flake
Declarative, composable, and reproducible services for Nix development environment, as a process-compose-flake module (based on flake-parts). Enabling users to have NixOS-like service on MacOS and Linux.
Getting Started
See https://community.flake.parts/services-flake/start
Services available
See the list here.
A note on process working directory
The dataDir
of these services tend to take relative paths, which are usually relative to the project root. As such, when you run these services using nix run
, their data files are created relative to whichever directory you are in. If you want these data files to always reside relative to the project directory, instead of using nix run
consider wrapping the process-compose packages in script, via either mission-control module or a justfile. The example uses the latter.
Discussions
To discuss the project, please join our Zulip.
Contributing & Development
See https://community.flake.parts/services-flake/contributing
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