Skip to content

Epgstation

services.epgstation.database.name

Name of the MySQL database that holds EPGStation's data.

Type: string

Default

"epgstation"

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

services.epgstation.database.passwordFile

A file containing the password for the database named {option}database.name.

Type: path

Example

"/run/keys/epgstation-db-password"

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

services.epgstation.enable

Whether to enable EPGStation: DVR system for Mirakurun-managed TV tuners. Type: boolean

Default

false

Example

true

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

services.epgstation.ffmpeg

The ffmpeg package to use. Type: package

Default

pkgs.ffmpeg-headless

Example

ffmpeg-full

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

services.epgstation.openFirewall

Open ports in the firewall for the EPGStation web interface.

::: {.warning} Exposing EPGStation to the open internet is generally advised against. Only use it inside a trusted local network, or consider putting it behind a VPN if you want remote access. :::

Type: boolean

Default

false

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

services.epgstation.package

The epgstation package to use. Type: package

Default

pkgs.epgstation

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

services.epgstation.settings

Options to add to config.yml.

Documentation: https://github.com/l3tnun/EPGStation/blob/master/doc/conf-manual.md

Type: YAML value

Default

{ }

Example

{conflictPriority = 10;recPriority = 20;}

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

services.epgstation.settings.clientSocketioPort

Socket.io port that the web client is going to connect to. This may be different from {option}services.epgstation.settings.socketioPort if EPGStation is hidden behind a reverse proxy.

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

Default

config.services.epgstation.settings.socketioPort

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

services.epgstation.settings.concurrentEncodeNum

The maximum number of encoding jobs that EPGStation would run at the same time.

Type: positive integer, meaning >0

Default

1

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

services.epgstation.settings.encode

Encoding presets for recorded videos. Type: list of (attribute set)

Default

[{name = "H.264";cmd = "%NODE% config.services.epgstation.package/libexec/enc.js";suffix = ".mp4";}]

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

services.epgstation.settings.encodeProcessNum

The maximum number of processes that EPGStation would allow to run at the same time for encoding or streaming videos.

Type: positive integer, meaning >0

Default

4

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

services.epgstation.settings.mirakurunPath

URL to connect to Mirakurun. Type: string

Default

"http+unix://${lib.replaceStrings ["/"] ["%2F"] config.services.mirakurun.unixSocket}"

Example

"http://localhost:40772"

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

services.epgstation.settings.port

HTTP port for EPGStation to listen on.

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

Default

20772

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

services.epgstation.settings.socketioPort

Socket.io port for EPGStation to listen on. It is valid to share ports with {option}services.epgstation.settings.port.

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

Default

config.services.epgstation.settings.port + 1

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

services.epgstation.usePreconfiguredStreaming

Use preconfigured default streaming options.

Upstream defaults: https://github.com/l3tnun/EPGStation/blob/master/config/config.yml.template

Type: boolean

Default

true

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