forked from mirrors/nixpkgs
Merge branch 'nixos/statsd/statsd_port_fix' of git://github.com/offlinehacker/nixpkgs
nixos/statsd: change default host and port on graphite host and port
This commit is contained in:
commit
ca81e38178
|
@ -64,13 +64,13 @@ in
|
||||||
|
|
||||||
graphiteHost = mkOption {
|
graphiteHost = mkOption {
|
||||||
description = "Hostname or IP of Graphite server";
|
description = "Hostname or IP of Graphite server";
|
||||||
default = "127.0.0.1";
|
default = config.services.graphite.web.host;
|
||||||
type = types.str;
|
type = types.str;
|
||||||
};
|
};
|
||||||
|
|
||||||
graphitePort = mkOption {
|
graphitePort = mkOption {
|
||||||
description = "Port of Graphite server";
|
description = "Port of Graphite server";
|
||||||
default = 2003;
|
default = config.services.graphite.web.port;
|
||||||
type = types.uniq types.int;
|
type = types.uniq types.int;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue