DRY services.collectd.plugins.sensors

This commit is contained in:
Astro 2021-09-27 22:28:56 +02:00
parent dcfdd87899
commit 3a4da479e4
3 changed files with 2 additions and 2 deletions

View File

@ -53,7 +53,6 @@
hq.interface = "eth0"; hq.interface = "eth0";
hq.statistics.enable = true; hq.statistics.enable = true;
}; };
services.collectd.plugins.sensors = "";
nix = { nix = {
buildCores = 4; buildCores = 4;

View File

@ -101,7 +101,6 @@
</Key> </Key>
</URL> </URL>
''; '';
sensors = "";
}; };
# List packages installed in system profile. To search, run: # List packages installed in system profile. To search, run:

View File

@ -35,6 +35,8 @@ in
cgroups = ""; cgroups = "";
vmem = ""; vmem = "";
interface = ""; interface = "";
} // lib.optionalAttrs (!config.boot.isContainer) {
sensors = "";
} // lib.optionalAttrs config.services.nginx.enable { } // lib.optionalAttrs config.services.nginx.enable {
nginx = '' nginx = ''
URL "http://localhost/nginx_status" URL "http://localhost/nginx_status"