diff --git a/machines/infradocs/configuration.nix b/machines/infradocs/configuration.nix index 441e73ac..fece0764 100644 --- a/machines/infradocs/configuration.nix +++ b/machines/infradocs/configuration.nix @@ -1,4 +1,4 @@ -{ config, lib, pkgs, inputs, ... }: +{ self, config, lib, pkgs, inputs, ... }: with lib; @@ -9,16 +9,18 @@ with lib; }; imports = [ + self.nixosModules.malobeo.metrics ../durruti/documentation.nix ../modules/malobeo_user.nix ../modules/sshd.nix ]; - networking.firewall.allowedTCPPorts = [ 9002 ]; - - malobeo.metrics.logNginx = lib.mkForce true; - - users.users.promtail.extraGroups = [ "nginx" "systemd-journal" ]; + malobeo.metrics = { + enable = true; + enablePromtail = true; + logNginx = true; + lokiHost = "10.0.0.14"; + }; system.stateVersion = "22.11"; # Did you read the comment? }