mirror of
https://github.com/juspay/services-flake.git
synced 2024-09-17 15:28:33 +03:00
chore(docs): Adjust custom-service example after #258
This commit is contained in:
parent
7200b458b5
commit
e995bbcc9f
@ -96,17 +96,14 @@ Let's write the same `hello` service as above, in `hello.nix`, but this time as
|
||||
default = "Hello, world!";
|
||||
description = "The message to be displayed";
|
||||
};
|
||||
outputs.settings = lib.mkOption {
|
||||
type = lib.types.deferredModule;
|
||||
internal = true;
|
||||
readOnly = true;
|
||||
default = {
|
||||
};
|
||||
config = {
|
||||
settings = {
|
||||
processes.${name} = {
|
||||
command = "${lib.getExe config.package} --greeting='${config.message}'";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user