mirror of
https://github.com/RGBCube/ncc
synced 2025-07-27 10:07:44 +00:00
9 lines
237 B
Nix
9 lines
237 B
Nix
{ config, lib, ... }: let
|
|
inherit (lib) enabled merge mkIf;
|
|
in merge <| mkIf config.isServer {
|
|
services.prometheus.exporters.node = enabled {
|
|
enabledCollectors = [ "processes" "systemd" ];
|
|
listenAddress = "[::]";
|
|
};
|
|
}
|
|
|