NixOS-like services for Nix flakes
Go to file
Abhishek Singh 6aeb0eafe6
cassandra: init service (#116)
* cassandra: init service

* cassandra: add cassandra/conf files

* cassandra_test: change package to cassandra_4

* update readiness_probe

* update cassandra_test

* cassandra: add doc

* cassandra_4 doesn't require python-2

---------

Co-authored-by: shivaraj-bh <sbh69840@gmail.com>
2024-03-03 16:07:36 +05:30
.github/workflows ci: Add m1 runner to matrix (#89) 2024-02-27 09:30:41 -05:00
dev explicitly define project root in treefmt (#103) 2024-02-20 11:06:02 +05:30
doc cassandra: init service (#116) 2024-03-03 16:07:36 +05:30
example Update process-compose-flake (#111) 2024-02-24 06:59:35 -05:00
nix cassandra: init service (#116) 2024-03-03 16:07:36 +05:30
test cassandra: init service (#116) 2024-03-03 16:07:36 +05:30
.envrc Revert "dev flake: check example and tests" 2023-07-10 19:36:14 -04:00
.gitignore Development and contribution guidelines (#112) 2024-02-24 17:54:57 +05:30
flake.nix explicitly define project root in treefmt (#103) 2024-02-20 11:06:02 +05:30
justfile Development and contribution guidelines (#112) 2024-02-24 17:54:57 +05:30
LICENSE Initial commit 2023-06-19 17:44:27 -04:00
README.md Development and contribution guidelines (#112) 2024-02-24 17:54:57 +05:30

project chat

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.

Demo

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