diff --git a/nixos/configuration.nix b/nixos/configuration.nix index c17697c..404d0b7 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -6,6 +6,7 @@ { imports = [ ./hardware-configuration.nix + ./repo/server.nix ./repo/default-hardware.nix ./repo/desktop-sway.nix ./repo/users.nix diff --git a/nixos/server.nix b/nixos/server.nix new file mode 100644 index 0000000..9fc6d49 --- /dev/null +++ b/nixos/server.nix @@ -0,0 +1,8 @@ +{ + # enable monitoring + services.prometheus.exporters.node = { + enable = true; + openFirewall = true; + enabledCollectors = [ "systemd" ]; + }; +}