fix(selfhost): now really use the boolean of the function

This commit is contained in:
Raphael 2025-07-04 03:04:32 +02:00
parent c212d0c671
commit 62d63e139b
4 changed files with 164 additions and 156 deletions

View file

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