Skip to content

ephemera

Example

nix
{config, ...}: {
  ephemera = {
    enable = true;
    downloadDirectory = "${config.nps.storageBaseDir}/booklore/bookdrop";
  };
}

Stack Options

nps.stacks.ephemera.containers.ephemera

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

Type
plaintext
submodule
Declaration

nps.stacks.ephemera.downloadDirectory

Final host directory where downloads will be placed. To automatically ingest books in other applications such as CWA or Booklore, set this to the respective app's import directory.

Type
plaintext
string
Default
nix
"${config.nps.storageBaseDir}/ephemera/ingest"
Example
nix
"${config.nps.storageBaseDir}/booklore/bookdrop"
Declaration

nps.stacks.ephemera.enable

Whether to enable ephemera.

Type
plaintext
boolean
Default
nix
false
Example
nix
true
Declaration

nps.stacks.ephemera.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/OrwellianEpilogue/ephemera?tab=readme-ov-file#optional-environment-variables

Type
plaintext
attribute set of (null or boolean or signed integer or string or absolute path or (submodule))
Default
nix
{ }
Example
nix
{
  AA_API_KEY = {
    fromFile = "/run/secrets/secret_name";
  };
  LG_BASE_URL = "https://some-gen.li";
}
Declaration

nps.stacks.ephemera.flaresolverr.enable

Whether to enable Flaresolverr.

Type
plaintext
boolean
Default
nix
true
Example
nix
true
Declaration