diff --git a/data/network.nix b/data/network.nix index ca939d6..8f9aa24 100644 --- a/data/network.nix +++ b/data/network.nix @@ -59,7 +59,7 @@ rec { }; "remoteProxy" = { ip = ips.remoteProxy; - } + }; "continuwuity" = { ip = ips.pi; reverse_proxy = { diff --git a/data/storage.nix b/data/storage.nix index a50c082..d8f72e9 100644 --- a/data/storage.nix +++ b/data/storage.nix @@ -16,5 +16,5 @@ rec { type = "none"; source = "${ssd.path}/continuwuity"; options = ["bind"]; - } + }; } diff --git a/services/nginx.nix b/services/nginx.nix index c4fdf36..3b75983 100644 --- a/services/nginx.nix +++ b/services/nginx.nix @@ -8,7 +8,7 @@ let locationList = if service.reverse_proxy.endpoints == null then ["/"] else service.reverse_proxy.endpoints; - locationsData = builtins listToAttrs (map (endpointName: { + locationsData = builtins.listToAttrs (map (endpointName: { name = endpointName; value = { proxyPass = "http://127.0.0.1:${builtins.toString service.reverse_proxy.port}/";