19 lines
312 B
Nix
19 lines
312 B
Nix
{ 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;
|
|
};
|
|
};
|
|
};
|
|
}
|