summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorseth <[email protected]>2024-03-14 05:04:01 -0400
committerseth <[email protected]>2024-03-14 05:04:01 -0400
commit7a0ab379a4ab71c9deccaca9fb463e9aaea363d8 (patch)
treec69d106444cdde9c1a2e54a74f7ad8f878ad1479 /README.md
parent528943263040c9f383361b1a37a3ee4db66412af (diff)
docs: use correct procRunner option in module example
Diffstat (limited to 'README.md')
-rw-r--r--README.md7
1 files changed, 5 insertions, 2 deletions
diff --git a/README.md b/README.md
index fa8cf51..8569095 100644
--- a/README.md
+++ b/README.md
@@ -43,6 +43,7 @@ First, put this in your `flake.nix`:
}: let
procfile = procfile-nix.lib.${system}.mkProcfileRunner {
name = "daemons";
+
procGroup = {
redis = lib.getExe' pkgs.redis "redis-server";
};
@@ -90,8 +91,10 @@ Then run `nix develop`, `daemons &`, and you're good to go!
pkgs,
...
}: {
- procfiles.daemons.processes = {
- redis = lib.getExe' pkgs.redis "redis-server";
+ procfiles.daemons = {
+ processes = {
+ redis = lib.getExe' pkgs.redis "redis-server";
+ };
# OPTIONAL: switch the Procfile runner if desired.
procRunner = pkgs.honcho;