fix(selfhost): now really use the boolean of the function
This commit is contained in:
parent
c212d0c671
commit
62d63e139b
4 changed files with 164 additions and 156 deletions
|
|
@ -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;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue