summary refs log tree commit diff
path: root/nixos/modules/services
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2014-03-19 18:00:49 -0400
committerShea Levy <shea@shealevy.com>2014-03-19 18:00:49 -0400
commitca81e38178ad4edac19232b482335d3ba89a3cee (patch)
treeead9247a8b50a045f9998b9a356aa1fc05e38f6f /nixos/modules/services
parentd944c01db6ffd6e5f1bd2f509375439a26328f0e (diff)
parentbd5c0c3bc7ad3d5d5ee978ac5647e2d2a9381365 (diff)
downloadnixlib-ca81e38178ad4edac19232b482335d3ba89a3cee.tar
nixlib-ca81e38178ad4edac19232b482335d3ba89a3cee.tar.gz
nixlib-ca81e38178ad4edac19232b482335d3ba89a3cee.tar.bz2
nixlib-ca81e38178ad4edac19232b482335d3ba89a3cee.tar.lz
nixlib-ca81e38178ad4edac19232b482335d3ba89a3cee.tar.xz
nixlib-ca81e38178ad4edac19232b482335d3ba89a3cee.tar.zst
nixlib-ca81e38178ad4edac19232b482335d3ba89a3cee.zip
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
Diffstat (limited to 'nixos/modules/services')
-rw-r--r--nixos/modules/services/monitoring/statsd.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/services/monitoring/statsd.nix b/nixos/modules/services/monitoring/statsd.nix
index 979debefdd9f..54b7e79f82eb 100644
--- a/nixos/modules/services/monitoring/statsd.nix
+++ b/nixos/modules/services/monitoring/statsd.nix
@@ -64,13 +64,13 @@ in
 
     graphiteHost = mkOption {
       description = "Hostname or IP of Graphite server";
-      default = "127.0.0.1";
+      default = config.services.graphite.web.host;
       type = types.str;
     };
 
     graphitePort = mkOption {
       description = "Port of Graphite server";
-      default = 2003;
+      default = config.services.graphite.web.port;
       type = types.uniq types.int;
     };