process-compose-flake

Declare one or more process-compose configurations using options.

Generates a wrapper for process-compose.

See process-compose-flake for a usage example.

Installation

To use these options, add to your flake inputs:

process-compose-flake.url = "github:Platonic-Systems/process-compose-flake";

and inside the mkFlake:

imports = [
  inputs.process-compose-flake.flakeModule
];

Run nix flake lock and you're set.

Options

perSystem.process-compose

process-compose-flake: creates process-compose executables from process-compose configurations written as Nix attribute sets.

Type: submodule

Declared by:

perSystem.process-compose.package

The process-compose package to bundle up in the command package and flake app.

Type: package

Default: pkgs.process-compose

Declared by:

perSystem.process-compose.configs

For each attribute x = process-compose config a flake app and package x is added to the flake. Which runs process-compose with the declared config.

Type: attribute set of (YAML value)

Default: { }

Example:

{
  watch-server = {
    processes = {
      backend = "${pkgs.simple-http-server}";
      frontend = "${pkgs.simple-http-server}";
    };
  };
};

Declared by: