From ed979124cad7596de539188e86664b3784c363ca Mon Sep 17 00:00:00 2001 From: Franz Pletz Date: Mon, 15 Feb 2016 03:34:49 +0100 Subject: [PATCH] collectd service: Add option package --- nixos/modules/services/monitoring/collectd.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/nixos/modules/services/monitoring/collectd.nix b/nixos/modules/services/monitoring/collectd.nix index 717c2c481683..414831ae9d41 100644 --- a/nixos/modules/services/monitoring/collectd.nix +++ b/nixos/modules/services/monitoring/collectd.nix @@ -34,6 +34,14 @@ in { type = bool; }; + package = mkOption { + default = pkgs.collectd; + description = '' + Which collectd package to use. + ''; + type = package; + }; + user = mkOption { default = "collectd"; description = ''