forked from kalipso/infrastructure
[infradocs] enable metrics
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
{ config, lib, pkgs, inputs, ... }:
|
{ self, config, lib, pkgs, inputs, ... }:
|
||||||
|
|
||||||
with lib;
|
with lib;
|
||||||
|
|
||||||
@@ -9,16 +9,18 @@ with lib;
|
|||||||
};
|
};
|
||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
|
self.nixosModules.malobeo.metrics
|
||||||
../durruti/documentation.nix
|
../durruti/documentation.nix
|
||||||
../modules/malobeo_user.nix
|
../modules/malobeo_user.nix
|
||||||
../modules/sshd.nix
|
../modules/sshd.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
networking.firewall.allowedTCPPorts = [ 9002 ];
|
malobeo.metrics = {
|
||||||
|
enable = true;
|
||||||
malobeo.metrics.logNginx = lib.mkForce true;
|
enablePromtail = true;
|
||||||
|
logNginx = true;
|
||||||
users.users.promtail.extraGroups = [ "nginx" "systemd-journal" ];
|
lokiHost = "10.0.0.14";
|
||||||
|
};
|
||||||
|
|
||||||
system.stateVersion = "22.11"; # Did you read the comment?
|
system.stateVersion = "22.11"; # Did you read the comment?
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user