style(self_host/glances): moving to prepare grafana/prometheus

This commit is contained in:
Raphael 2025-06-25 13:42:48 +02:00
parent 0c1fd449ad
commit 6e2a2670e5
3 changed files with 29 additions and 0 deletions

View file

@ -0,0 +1,19 @@
{ config, pkgs, lib, ... }:
let
cfg = config.service.selfhost.monitor;
in
{
services = {
glances.enable = true;
nginx.virtualHosts."htop.enium.eu" = {
enableACME = true;
forceSSL = true;
locations."/" = {
proxyPass = "http://127.0.0.1:61208";
proxyWebsockets = true;
};
};
};
}