nixos: add server.nix for monitoring
This commit is contained in:
parent
e4b13361f3
commit
3b4c9ea8bb
|
@ -6,6 +6,7 @@
|
|||
{
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
./repo/server.nix
|
||||
./repo/default-hardware.nix
|
||||
./repo/desktop-sway.nix
|
||||
./repo/users.nix
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
# enable monitoring
|
||||
services.prometheus.exporters.node = {
|
||||
enable = true;
|
||||
openFirewall = true;
|
||||
enabledCollectors = [ "systemd" ];
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue