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). It enables users to have NixOS-like services 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/svfgphsxqqvj6hjay2kh45l5kwy93p10-source/doc/demo.gif
Footnotes
1.
The commands used in the demo are available Getting started.