summary refs log tree commit diff
path: root/nixos/modules/services/databases/influxdb.nix
diff options
context:
space:
mode:
authorPeter Hoeg <peter@hoeg.com>2017-08-11 09:47:54 +0800
committerPeter Hoeg <peter@hoeg.com>2017-08-11 22:12:49 +0800
commit211593fe4909fecdb3afc1b2388c37f8392109a0 (patch)
tree6f1c0def9ddafa7826367b7380e31dbe078876b0 /nixos/modules/services/databases/influxdb.nix
parent719aa35c0cbd0cfaa4856b428f1d0717cff024dc (diff)
downloadnixpkgs-211593fe4909fecdb3afc1b2388c37f8392109a0.tar
nixpkgs-211593fe4909fecdb3afc1b2388c37f8392109a0.tar.gz
nixpkgs-211593fe4909fecdb3afc1b2388c37f8392109a0.tar.bz2
nixpkgs-211593fe4909fecdb3afc1b2388c37f8392109a0.tar.lz
nixpkgs-211593fe4909fecdb3afc1b2388c37f8392109a0.tar.xz
nixpkgs-211593fe4909fecdb3afc1b2388c37f8392109a0.tar.zst
nixpkgs-211593fe4909fecdb3afc1b2388c37f8392109a0.zip
influxdb nixos module: allow customizing the collectd dependency
Diffstat (limited to 'nixos/modules/services/databases/influxdb.nix')
-rw-r--r--nixos/modules/services/databases/influxdb.nix3
1 files changed, 1 insertions, 2 deletions
diff --git a/nixos/modules/services/databases/influxdb.nix b/nixos/modules/services/databases/influxdb.nix
index dd88624f406..7fe25252350 100644
--- a/nixos/modules/services/databases/influxdb.nix
+++ b/nixos/modules/services/databases/influxdb.nix
@@ -68,7 +68,7 @@ let
 
     collectd = [{
       enabled = false;
-      typesdb = "${pkgs.collectd}/share/collectd/types.db";
+      typesdb = "${pkgs.collectd-data}/share/collectd/types.db";
       database = "collectd_db";
       port = 25826;
     }];
@@ -149,7 +149,6 @@ in
         type = types.attrs;
       };
     };
-
   };