modules/stats: enable collectd plugin ipmi only on x86_64
This commit is contained in:
parent
4ee5bb830f
commit
8e2718f443
|
@ -46,8 +46,9 @@ in
|
||||||
sensors = "";
|
sensors = "";
|
||||||
cpufreq = "";
|
cpufreq = "";
|
||||||
irq = "";
|
irq = "";
|
||||||
ipmi = "";
|
|
||||||
thermal = "";
|
thermal = "";
|
||||||
|
} // lib.optionalAttrs (isMetal && config.nixpkgs.system == "x86_64-linux") {
|
||||||
|
ipmi = "";
|
||||||
} // lib.optionalAttrs config.services.nginx.enable {
|
} // lib.optionalAttrs config.services.nginx.enable {
|
||||||
nginx = ''
|
nginx = ''
|
||||||
URL "http://localhost:${toString nginxStatusPort}/nginx_status"
|
URL "http://localhost:${toString nginxStatusPort}/nginx_status"
|
||||||
|
|
Loading…
Reference in New Issue