Running services using services-flake

services-flake provides 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.

It builds on top of the process-compose-flake module which allows running arbitrary processes declared in Nix.

See:

Demo

This is how running a service with services-flake looks like 1 :

/nix/store/8j8d0k448i7azwc7yimlvmcyx86yc403-services-flake-docs-shifted/services-flake/demo.gif
Footnotes
1.
The commands used in the demo are available in the getting started section of the services-flake README.