diff --git a/machines/overwatch/configuration.nix b/machines/overwatch/configuration.nix index 04ba721..2fa3041 100644 --- a/machines/overwatch/configuration.nix +++ b/machines/overwatch/configuration.nix @@ -1,4 +1,4 @@ -{ config, lib, pkgs, inputs, ... }: +{ config, self, lib, pkgs, inputs, ... }: with lib; @@ -9,11 +9,19 @@ with lib; }; imports = [ + self.nixosModules.malobeo.metrics ../modules/malobeo_user.nix ../modules/sshd.nix ]; - networking.firewall.allowedTCPPorts = [ 80 9080 9001 3100 ]; + networking.firewall.allowedTCPPorts = [ 80 3100 ]; + + malobeo.metrics = { + enable = true; + enablePromtail = true; + logNginx = false; + lokiHost = "10.0.0.14"; + }; services.grafana = { enable = true;