nix: add missing config option
This commit is contained in:
parent
2da4d6d203
commit
6c18427dc3
1 changed files with 7 additions and 0 deletions
|
@ -29,6 +29,7 @@ self: {
|
||||||
data_dir = cfg.dataDir;
|
data_dir = cfg.dataDir;
|
||||||
config_dir = "${cfg.stateDir}/conf";
|
config_dir = "${cfg.stateDir}/conf";
|
||||||
cache_dir = cfg.cacheDir;
|
cache_dir = cfg.cacheDir;
|
||||||
|
disable_metrics = cfg.disableMetrics;
|
||||||
});
|
});
|
||||||
in {
|
in {
|
||||||
###### interface
|
###### interface
|
||||||
|
@ -64,6 +65,12 @@ in {
|
||||||
example = "10.0.0.5:8080";
|
example = "10.0.0.5:8080";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
disableMetrics = mkOption {
|
||||||
|
type = bool;
|
||||||
|
default = false;
|
||||||
|
description = "Whether to disable the Prometheus metrics provider for Eris.";
|
||||||
|
};
|
||||||
|
|
||||||
minDelay = mkOption {
|
minDelay = mkOption {
|
||||||
type = int;
|
type = int;
|
||||||
default = 1000;
|
default = 1000;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue