Skip to content

Frigate

services.frigate.enable

Whether to enable Frigate NVR. Type: boolean

Default

false

Example

true

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/video/frigate.nix

services.frigate.hostname

Hostname of the nginx vhost to configure.

Only nginx is supported by upstream for direct reverse proxying.

Type: string

Example

"frigate.exampe.com"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/video/frigate.nix

services.frigate.package

The frigate package to use. Type: package

Default

pkgs.frigate

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/video/frigate.nix

services.frigate.settings

Frigate configuration as a nix attribute set.

See the project documentation for how to configure frigate. - Creating a config file - Configuration reference

Type: YAML value

Default

{ }

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/video/frigate.nix

services.frigate.settings.cameras

Attribute set of cameras configurations.

https://docs.frigate.video/configuration/cameras

Type: attribute set of (YAML value)

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/video/frigate.nix

services.frigate.settings.cameras.<name>.ffmpeg.inputs

List of inputs for this camera.

Type: list of (YAML value)

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/video/frigate.nix

services.frigate.settings.cameras.<name>.ffmpeg.inputs.*.path

Stream URL

Type: string

Example

"rtsp://192.0.2.1:554/rtsp"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/video/frigate.nix

services.frigate.settings.cameras.<name>.ffmpeg.inputs.*.roles

List of roles for this stream

Type: list of (one of "detect", "record", "rtmp")

Example

[ "detect" "rtmp" ]

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/video/frigate.nix

services.frigate.settings.database.path

Path to the SQLite database used

Type: path

Default

"/var/lib/frigate/frigate.db"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/video/frigate.nix

services.frigate.settings.mqtt.enabled

Whether to enable MQTT support. Type: boolean

Default

false

Example

true

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/video/frigate.nix

services.frigate.settings.mqtt.host

MQTT server hostname

Type: null or string

Default

null

Example

"mqtt.example.com"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/video/frigate.nix