From 42830d4e33fb69a2a9574f2fb0acf88646b9dffc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Mon, 10 Feb 2025 23:47:56 +0200 Subject: [PATCH] move detect to centralized config --- hosts/fwminex/configuration.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/hosts/fwminex/configuration.nix b/hosts/fwminex/configuration.nix index 7794a45..364303b 100644 --- a/hosts/fwminex/configuration.nix +++ b/hosts/fwminex/configuration.nix @@ -390,6 +390,11 @@ in enable = true; hostname = "r1.jakstys.lt"; settings = { + detect = { + enabled = true; + width = 1280; + height = 720; + }; detectors = { coral = { type = "edgetpu"; @@ -407,7 +412,6 @@ in cameras = { vno4-dome-panorama = { enabled = true; - detect.enabled = true; ffmpeg = { hwaccel_args = "preset-vaapi"; output_args = { @@ -431,7 +435,6 @@ in }; vno4-dome-ptz = { enabled = true; - detect.enabled = true; ffmpeg = { output_args = { record = "preset-record-generic-audio-copy";