mirror of
https://github.com/juspay/services-flake.git
synced 2024-09-11 04:15:36 +03:00
chore(docs): Adjust custom-service example after #258
This commit is contained in:
parent
7200b458b5
commit
e995bbcc9f
@ -96,14 +96,11 @@ 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 = {
|
||||
processes.${name} = {
|
||||
command = "${lib.getExe config.package} --greeting='${config.message}'";
|
||||
};
|
||||
};
|
||||
config = {
|
||||
settings = {
|
||||
processes.${name} = {
|
||||
command = "${lib.getExe config.package} --greeting='${config.message}'";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user