diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/base-server.nix | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/modules/base-server.nix b/modules/base-server.nix index 41e58a4..4579496 100644 --- a/modules/base-server.nix +++ b/modules/base-server.nix @@ -46,7 +46,21 @@ extraConfig = '' MaxAuthTries 32 ''; - }; + }; + prometheus = { + exporters = { + node = { + enable = true; + port = 9100; + enabledCollectors = [ + "logind" + "systemd" + ]; + disabledCollectors = [ + #"textfile" + ]; + }; + }; }; security.sudo.wheelNeedsPassword = false; nixpkgs.config.allowUnfree = true; |