From d02f519d6394b4a3f22d0a628a9817cd54cce11d Mon Sep 17 00:00:00 2001 From: niten Date: Sun, 26 Nov 2023 16:41:12 -0800 Subject: [PATCH] toString for ports --- frigate-container.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/frigate-container.nix b/frigate-container.nix index 23a5b39..3b846f9 100644 --- a/frigate-container.nix +++ b/frigate-container.nix @@ -210,10 +210,10 @@ in { ]; devices = cfg.devices; ports = [ - "${cfg.ports.frigate}:5000" - "${cfg.ports.rtsp}:8554" - "${cfg.ports.webrtc}:8555/tcp" - "${cfg.ports.webrtc}:8555/udp" + "${toString cfg.ports.frigate}:5000" + "${toString cfg.ports.rtsp}:8554" + "${toString cfg.ports.webrtc}:8555/tcp" + "${toString cfg.ports.webrtc}:8555/udp" ]; env_file = [ hostSecrets.frigateEnv.target-file ]; };