servers arr adjustment + formatting

This commit is contained in:
2024-11-13 22:25:51 -06:00
parent 5f639e4a6b
commit d6a3036bd1
5 changed files with 6 additions and 19 deletions

View File

@@ -1,8 +1,4 @@
{
lib,
config,
...
}:
{ lib, config, ... }:
let
cfg = config.my.servers.atticd;
setup = import ./setup.nix { inherit lib config; };
@@ -35,7 +31,7 @@ in
};
};
nginx.virtualHosts."${cfg.host}" = lib.mkIf cfg.enableProxy (
setup.proxyReverse cfg.hostName cfg.port // { }
setup.proxyReverseArr cfg.hostName cfg.port // { }
);
};
};