From 88b6f30a59e6943482420982aa62b534de4ad387 Mon Sep 17 00:00:00 2001 From: Ricardo Band Date: Mon, 12 Aug 2024 16:16:41 +0200 Subject: [PATCH] fix typing --- flake.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/flake.nix b/flake.nix index 4e46461..fa2376e 100644 --- a/flake.nix +++ b/flake.nix @@ -42,14 +42,14 @@ configFile = pkgs.writeText "config.ini" '' [ui] host=${cfg.ui.host} - port=${cfg.ui.port} - tls=${cfg.ui.tls} + port=${toString cfg.ui.port} + tls=${if cfg.ui.tls then "true" else "false"} certificate=${cfg.ui.certificate} key=${cfg.ui.key} [mpd] host=${cfg.backend.host} - port=${cfg.backend.port} + port=${toString cfg.backend.port} ''; execCommand = "${cfg.package}/bin/sanic -c '${configFile}'"; in