Skip to content

services.zigduck

Enable the zigduck service, the CLI, the dashboard and the GNOME extension. 15 options.

MQTT broker hostname or IP address

Type: string

Default: "127.0.0.1"

Example: "0.0.0.0"

Declared in: options/service.nix

Whether to install zigduck-cli package.

Type: boolean

Default: true

Example: false

Declared in: options/service.nix

Enable debug logging (sets DEBUG=1)

Type: boolean

Default: false

Example: true

Declared in: options/service.nix

Whether to enable Zigduck.

Type: boolean

Default: false

Example: true

Declared in: options/service.nix

Extra environment variables to pass to the service

Type: attribute set of string

Default: { }

Declared in: options/service.nix

Whether to install gnome-shell-extension zigduck package.

Type: boolean

Default: false

Example: true

Declared in: options/service.nix

Location to store zigduck logfile.

Type: absolute path

Default: "/var/lib/zigduck/zigduck.log"

Example: "/path/to/example/zigduck.log"

Declared in: options/service.nix

Directory for runtime state files

Type: absolute path

Default: "/var/lib/zigduck"

Example: "/path/to/example"

Declared in: options/service.nix

Whether to enable Zigduck dashboard service.

Type: boolean

Default: false

Example: true

Declared in: options/service.nix

Host to bind the webserver to

Type: string

Default: "0.0.0.0"

Example: "127.0.0.1"

Declared in: options/service.nix

Location to store zigduck API logfile.

Type: absolute path

Default: "/var/lib/zigduck/zigduck-api.log"

Example: "/path/to/example/zigduck-api.log"

Declared in: options/service.nix

Whether to open the firewall for the specified port.

Type: boolean

Default: false

Example: true

Declared in: options/service.nix

Path to password file for API authentication (API_PASSWORD_FILE)

Type: null or absolute path

Default: null

Declared in: options/service.nix

Port for the dashboard

Type: 16 bit unsigned integer; between 0 and 65535 (both inclusive)

Default: 13336

Example: 13337

Declared in: options/service.nix

Whether to set the Secure flag on authentication cookies. Set to false when serving over plain HTTP.

Type: boolean

Default: true

Example: false

Declared in: options/service.nix