diff options
| author | Seth Flynn <[email protected]> | 2025-02-14 23:55:18 -0500 |
|---|---|---|
| committer | Seth Flynn <[email protected]> | 2025-02-15 01:18:39 -0500 |
| commit | c651506fe6ccfe88309bf6b7050cc43ec62de0e7 (patch) | |
| tree | 93370d645221abe01363cc2080386a94a3556403 /modules/nixos/mixins/node-exporter.nix | |
| parent | 3a0933447bc9b5d44e13a12a845c0d70662a92a5 (diff) | |
nixos: add grafana + prom/vm mixins
Diffstat (limited to 'modules/nixos/mixins/node-exporter.nix')
| -rw-r--r-- | modules/nixos/mixins/node-exporter.nix | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/modules/nixos/mixins/node-exporter.nix b/modules/nixos/mixins/node-exporter.nix new file mode 100644 index 0000000..752ff1d --- /dev/null +++ b/modules/nixos/mixins/node-exporter.nix @@ -0,0 +1,11 @@ +{ lib, ... }: + +{ + services.prometheus.exporters.node = { + openFirewall = lib.mkDefault true; + + enabledCollectors = [ + "systemd" + ]; + }; +} |
