diff --git a/flake.nix b/flake.nix index f5cc238..b19e1de 100644 --- a/flake.nix +++ b/flake.nix @@ -82,7 +82,7 @@ services.nginx.virtualHosts.${cfg.domain} = { forceSSL = cfg.ssl; enableACME = cfg.ssl; - locations."/".proxyPass = "http://127.0.0.1:${cfg.phx.port}"; + locations."/".proxyPass = "http://127.0.0.1:${toString cfg.phx.port}"; }; systemd.services."zoeyscomputer-phx" = let @@ -102,7 +102,7 @@ RELEASE_TMP = working_directory; # can be generated in an elixir console with # Base.encode32(:crypto.strong_rand_bytes(32)) - PORT = "${cfg.phx.port}"; + PORT = "${toString cfg.phx.port}"; PHX_HOST = cfg.domain; PHX_SERVER = cfg.phx.enableServer; };