feat(selfhost/glances): adding a monitor to my server

This commit is contained in:
Raphael 2025-06-24 23:55:55 +02:00
parent e881327e72
commit 0c1fd449ad
4 changed files with 35 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."monitor.enium.eu" = {
enableACME = true;
forceSSL = true;
locations."/" = {
proxyPass = "http://127.0.0.1:61208";
proxyWebsockets = true;
};
};
};
}

View file

@ -20,6 +20,12 @@ in
adminuser = "OwnedByTheEniumTeam";
dbtype = "sqlite";
};
settings = {
trusted_domains = [
"192.168.1.254"
];
default_phone_region = "FR";
};
};
nginx.virtualHosts."nextcloud.enium.eu".enableACME = true;
nginx.virtualHosts."nextcloud.enium.eu".forceSSL = true;