zabbix agent: extraConfig
svn path=/nixos/trunk/; revision=20048
This commit is contained in:
parent
f013236f1e
commit
c17a76279d
|
@ -22,6 +22,8 @@ let
|
||||||
PidFile = ${pidFile}
|
PidFile = ${pidFile}
|
||||||
|
|
||||||
StartAgents = 1
|
StartAgents = 1
|
||||||
|
|
||||||
|
${config.services.zabbixAgent.extraConfig}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
in
|
in
|
||||||
|
@ -49,6 +51,13 @@ in
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
extraConfig = mkOption {
|
||||||
|
default = "";
|
||||||
|
description = ''
|
||||||
|
Configuration that is injected verbatim into the configuration file.
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue