diff --git a/hosts/remilia/services.nix b/hosts/remilia/services.nix index b004575..c536987 100755 --- a/hosts/remilia/services.nix +++ b/hosts/remilia/services.nix @@ -29,42 +29,22 @@ }; }; in - builtins.listToAttrs [ - { - name = "vault.weirdnatto.in"; - value = genericHttpRProxy { addr = "https://10.55.0.2:8800"; }; - } - { - name = "consul.weirdnatto.in"; - value = genericHttpRProxy { addr = "http://10.55.0.2:8500"; }; - } - { - name = "ci.weirdnatto.in"; - value = genericHttpRProxy { addr = "http://10.55.0.2:6666"; }; - } - { - name = "radio.weirdnatto.in"; - value = genericHttpRProxy { addr = "http://10.55.0.3:8000"; }; - } - { - name = "git.weirdnatto.in"; - value = genericHttpRProxy { - addr = "http://10.55.0.2:5000"; - conf = "client_max_body_size 64M;"; - }; - } - { - name = "nomad.weirdnatto.in"; - value = genericHttpRProxy { - addr = "http://10.55.0.2:4646"; - conf = '' - proxy_buffering off; - proxy_read_timeout 310s; - ''; - }; - } - ] // { + "vault.weirdnatto.in" = genericHttpRProxy { addr = "https://10.55.0.2:8800"; }; + "consul.weirdnatto.in" = genericHttpRProxy { addr = "http://10.55.0.2:8500"; }; + "ci.weirdnatto.in" = genericHttpRProxy { addr = "http://10.55.0.2:6666"; }; + "radio.weirdnatto.in" = genericHttpRProxy { addr = "http://10.55.0.3:8000"; }; + "git.weirdnatto.in" = genericHttpRProxy { + addr = "http://10.55.0.2:5000"; + conf = "client_max_body_size 64M;"; + }; + "nomad.weirdnatto.in" = genericHttpRProxy { + addr = "http://10.55.0.2:4646"; + conf = '' + proxy_buffering off; + proxy_read_timeout 310s; + ''; + }; "weirdnatto.in" = { addSSL = true; enableACME = true;