Skip to content

streaming

Example

nix
{
  streaming = {
    enable = true;

    gluetun = {
      vpnProvider = "airvpn";
      wireguardPrivateKeyFile = config.sops.secrets."gluetun/wg_pk".path;
      wireguardPresharedKeyFile = config.sops.secrets."gluetun/wg_psk".path;
      wireguardAddressesFile = config.sops.secrets."gluetun/wg_address".path;

      extraEnv = {
        FIREWALL_VPN_INPUT_PORTS.fromFile = config.sops.secrets."qbittorrent/torrenting_port".path;
      };
    };

    qbittorrent.extraEnv = {
      TORRENTING_PORT.fromFile = config.sops.secrets."qbittorrent/torrenting_port".path;
    };
  };
}

Stack Options

nps.stacks.streaming.bazarr.enable

Whether to enable bazarr.

Type
plaintext
boolean
Default
nix
true
Example
nix
true
Declaration

nps.stacks.streaming.bazarr.extraEnv

Extra environment variables to set for the container. Variables can be either set directly or sourced from a file (e.g. for secrets).

Type
plaintext
attribute set of (null or boolean or signed integer or string or absolute path or (submodule))
Default
nix
{ }
Declaration

nps.stacks.streaming.containers.bazarr

Alias of {option}services.podman.containers.bazarr.

Type
plaintext
submodule
Declaration

nps.stacks.streaming.containers.gluetun

Alias of {option}services.podman.containers.gluetun.

Type
plaintext
submodule
Declaration

nps.stacks.streaming.containers.jellyfin

Alias of {option}services.podman.containers.jellyfin.

Type
plaintext
submodule
Declaration

nps.stacks.streaming.containers.prowlarr

Alias of {option}services.podman.containers.prowlarr.

Type
plaintext
submodule
Declaration

nps.stacks.streaming.containers.qbittorrent

Alias of {option}services.podman.containers.qbittorrent.

Type
plaintext
submodule
Declaration

nps.stacks.streaming.containers.radarr

Alias of {option}services.podman.containers.radarr.

Type
plaintext
submodule
Declaration

nps.stacks.streaming.containers.sonarr

Alias of {option}services.podman.containers.sonarr.

Type
plaintext
submodule
Declaration

nps.stacks.streaming.enable

Whether to enable streaming.

Type
plaintext
boolean
Default
nix
false
Example
nix
true
Declaration

nps.stacks.streaming.flaresolverr.enable

Whether to enable Flaresolverr.

Type
plaintext
boolean
Default
nix
true
Example
nix
true
Declaration

nps.stacks.streaming.gluetun.enable

Whether to enable Gluetun.

Type
plaintext
boolean
Default
nix
true
Example
nix
true
Declaration

nps.stacks.streaming.gluetun.extraEnv

Extra environment variables to set for the container. Variables can be either set directly or sourced from a file (e.g. for secrets).

See https://github.com/qdm12/gluetun-wiki/tree/main/setup/options

Type
plaintext
attribute set of (null or boolean or signed integer or string or absolute path or (submodule))
Default
nix
{ }
Example
nix
{
  HTTPPROXY_PASSWORD = {
    fromFile = "/run/secrets/http_proxy_password";
  };
  HTTP_CONTROL_SERVER_LOG = "off";
  SERVER_NAMES = "Alderamin,Alderamin";
}
Declaration

nps.stacks.streaming.gluetun.settings

Additional Gluetun configuration settings.

Type
plaintext
TOML value
Declaration

nps.stacks.streaming.gluetun.vpnProvider

The VPN provider to use with Gluetun.

Type
plaintext
string
Declaration

nps.stacks.streaming.gluetun.wireguardAddressesFile

Path to the file containing the Wireguard addresses. Will be used to set the WIREGUARD_ADDRESSES environment variable.

Type
plaintext
null or absolute path
Default
nix
null
Declaration

nps.stacks.streaming.gluetun.wireguardPresharedKeyFile

Path to the file containing the Wireguard pre-shared key. Will be used to set the WIREGUARD_PRESHARED_KEY environment variable.

Type
plaintext
null or absolute path
Default
nix
null
Declaration

nps.stacks.streaming.gluetun.wireguardPrivateKeyFile

Path to the file containing the Wireguard private key. Will be used to set the WIREGUARD_PRIVATE_KEY environment variable.

Type
plaintext
absolute path
Declaration

nps.stacks.streaming.jellyfin.enable

Whether to enable Jellyfin.

Type
plaintext
boolean
Default
nix
true
Example
nix
true
Declaration

nps.stacks.streaming.jellyfin.oidc.adminGroup

Users of this group will be assigned admin rights in Jellyfin

Type
plaintext
string
Default
nix
"jellyfin_admin"
Declaration

nps.stacks.streaming.jellyfin.oidc.clientSecretFile

The file containing the client secret for the OIDC client that will be registered in Authelia.

Type
plaintext
string
Declaration

nps.stacks.streaming.jellyfin.oidc.clientSecretHash

The hashed client_secret. Will be set in the Authelia client config. For examples on how to generate a client secret, see

https://www.authelia.com/integration/openid-connect/frequently-asked-questions/#client-secret

Type
plaintext
string
Declaration

nps.stacks.streaming.jellyfin.oidc.enable

Whether to enable OIDC login with Authelia. This will register an OIDC client in Authelia and setup the necessary configuration file.

The plugin configuration will be automatically provided, the plugin itself has to be installed in the Jellyfin Web-UI tho.

For details, see:

Type
plaintext
boolean
Default
nix
false
Declaration

nps.stacks.streaming.jellyfin.oidc.userGroup

Users of this group will be able to log in

Type
plaintext
string
Default
nix
"jellyfin_user"
Declaration

nps.stacks.streaming.prowlarr.enable

Whether to enable prowlarr.

Type
plaintext
boolean
Default
nix
true
Example
nix
true
Declaration

nps.stacks.streaming.prowlarr.extraEnv

Extra environment variables to set for the container. Variables can be either set directly or sourced from a file (e.g. for secrets).

Type
plaintext
attribute set of (null or boolean or signed integer or string or absolute path or (submodule))
Default
nix
{ }
Declaration

nps.stacks.streaming.qbittorrent.enable

Whether to enable qBittorrent.

Type
plaintext
boolean
Default
nix
true
Example
nix
true
Declaration

nps.stacks.streaming.qbittorrent.extraEnv

Extra environment variables to set for the container. Variables can be either set directly or sourced from a file (e.g. for secrets).

See https://docs.linuxserver.io/images/docker-qbittorrent/#environment-variables-e

Type
plaintext
attribute set of (null or boolean or signed integer or string or absolute path or (submodule))
Default
nix
{ }
Example
nix
{
  TORRENTING_PORT = "6881";
}
Declaration

nps.stacks.streaming.radarr.enable

Whether to enable radarr.

Type
plaintext
boolean
Default
nix
true
Example
nix
true
Declaration

nps.stacks.streaming.radarr.extraEnv

Extra environment variables to set for the container. Variables can be either set directly or sourced from a file (e.g. for secrets).

Type
plaintext
attribute set of (null or boolean or signed integer or string or absolute path or (submodule))
Default
nix
{ }
Declaration

nps.stacks.streaming.sonarr.enable

Whether to enable sonarr.

Type
plaintext
boolean
Default
nix
true
Example
nix
true
Declaration

nps.stacks.streaming.sonarr.extraEnv

Extra environment variables to set for the container. Variables can be either set directly or sourced from a file (e.g. for secrets).

Type
plaintext
attribute set of (null or boolean or signed integer or string or absolute path or (submodule))
Default
nix
{ }
Declaration