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/n9w1w3l1mpsxdx53s1hzybj801r2ny08-source/doc/demo.gif
Footnotes
1.
The commands used in the demo are available Getting started.