From 898471f49bbeabf456eced2a053c9db1b0bf51a5 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Sun, 22 Mar 2026 14:15:14 +0100 Subject: fix(module): Actually convert the integer to a string --- module/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'module') diff --git a/module/default.nix b/module/default.nix index ed705aa..6339fef 100644 --- a/module/default.nix +++ b/module/default.nix @@ -102,7 +102,7 @@ in { "" "${lib.getExe cfg.server} \ serve \ - --port ${cfg.port} \ + --port ${builtins.toString cfg.port} \ ${lib.strings.optionalString (cfg.secretKeyFile != null) "--secret-key-file ${cfg.secretKeyFile}"} \ --host ${cfg.address} \ --db-path ${cfg.dbPath}" @@ -125,7 +125,7 @@ in { services.nginx.virtualHosts."${cfg.domain}" = { locations."/api" = { - proxyPass = "http://127.0.0.1:${cfg.port}"; + proxyPass = "http://127.0.0.1:${builtins.toString cfg.port}"; recommendedProxySettings = true; proxyWebsockets = true; -- cgit 1.4.1