This commit is contained in:
parent
945897643d
commit
5939aa8996
7 changed files with 20 additions and 10 deletions
|
|
@ -1,6 +1,7 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
imports = [
|
||||
./monitoring.nix
|
||||
./users.nix
|
||||
];
|
||||
|
||||
|
|
|
|||
9
modules/common/monitoring.nix
Normal file
9
modules/common/monitoring.nix
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{ ... }:
|
||||
{
|
||||
services.prometheus.exporters = {
|
||||
node = {
|
||||
enable = true;
|
||||
enabledCollecors = [ "systemd" ];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
{...}:
|
||||
{ ... }:
|
||||
{
|
||||
imports = [
|
||||
./common
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue