[durruti] enable metrics

This commit is contained in:
2025-01-22 01:33:06 +01:00
parent e2925f21a6
commit a7a11e4474
2 changed files with 9 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
{ config, lib, pkgs, inputs, ... }: { config, self, lib, pkgs, inputs, ... }:
with lib; with lib;
@@ -17,6 +17,7 @@ with lib;
]; ];
imports = [ imports = [
self.nixosModules.malobeo.metrics
inputs.tasklist.nixosModules.malobeo-tasklist inputs.tasklist.nixosModules.malobeo-tasklist
../modules/malobeo_user.nix ../modules/malobeo_user.nix
@@ -24,6 +25,13 @@ with lib;
../modules/minimal_tools.nix ../modules/minimal_tools.nix
]; ];
malobeo.metrics = {
enable = true;
enablePromtail = true;
logNginx = true;
lokiHost = "10.0.0.14";
};
services.malobeo-tasklist.enable = true; services.malobeo-tasklist.enable = true;
system.stateVersion = "22.11"; # Did you read the comment? system.stateVersion = "22.11"; # Did you read the comment?

View File

@@ -63,7 +63,6 @@ in
}; };
}; };
services.nginx.virtualHosts."tasklist.malobeo.org" = { services.nginx.virtualHosts."tasklist.malobeo.org" = {
forceSSL = true; forceSSL = true;
enableACME= true; enableACME= true;