Skip to content

aiostreams ​

Stremio meta addon

Example ​

nix
{config, ...}:{
  nps.stacks.aiostreams = {
    enable = true;
    secretKeyFile = config.sops.secrets."aiostreams/secret_key".path;
    extraEnv = {
      TMDB_ACCESS_TOKEN.fromFile = config.sops.secrets."aiostreams/tmdb_access_token".path;
    };
  };
}

Stack Options ​

nps.stacks.aiostreams.enable ​

Whether to enable aiostreams.

Type
plaintext
boolean
Default
nix
false
Example
nix
true
Declaration

nps.stacks.aiostreams.extraEnv ​

Extra environment variables to set for the container. Can be used to pass secrets such as the TMDB_ACCESS_TOKEN.

See https://docs.aiostreams.viren070.me/configuration/environment-variables/

Type
plaintext
attribute set of (null or boolean or signed integer or string or absolute path or (submodule))
Default
nix
{ }
Example
nix
{
  FOO = "bar";
  TMDB_ACCESS_TOKEN = {
    fromFile = "/run/secrets/tmdb_access_token";
  };
}
Declaration

nps.stacks.aiostreams.secretKeyFile ​

Path to the file containing the secret key. Must be a 64-character hex string. Can be generated using openssl rand -hex 32

See <https://docs.aiostreams.viren070.me/configuration/environment-variables/

Type
plaintext
absolute path
Declaration

Container Aliases ​

nps.stacks.aiostreams.containers.aiostreams ​

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

Type
plaintext
submodule
Declaration