From 3c30d8182ee17525bf66e815b1fa56d58170a17d Mon Sep 17 00:00:00 2001 From: fleaz Date: Sat, 4 Jan 2025 00:49:36 +0100 Subject: [PATCH] nixos/frigate: Also listen on port 5000 Frigate wants to connect on 127.0.0.1:5000 for unauthenticated requests by checking the request port. This adress is hardcoded in the source. See https://github.com/NixOS/nixpkgs/issues/370349 for more details --- nixos/modules/services/video/frigate.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nixos/modules/services/video/frigate.nix b/nixos/modules/services/video/frigate.nix index b46910505f7d..7dff18c52790 100644 --- a/nixos/modules/services/video/frigate.nix +++ b/nixos/modules/services/video/frigate.nix @@ -477,6 +477,10 @@ in }; }; extraConfig = '' + # Frigate wants to connect on 127.0.0.1:5000 for unauthenticated requests + # https://github.com/NixOS/nixpkgs/issues/370349 + listen 127.0.0.1:5000; + # vod settings vod_base_url ""; vod_segments_base_url "";