Skip to content

bytestash

Example

nix
{
  bytestash = {
    enable = true;
    jwtSecretFile = config.sops.secrets."bytestash/jwt_secret".path;
  };
}

Stack Options

nps.stacks.bytestash.containers.bytestash

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

Type
plaintext
submodule
Declaration

nps.stacks.bytestash.enable

Whether to enable bytestash.

Type
plaintext
boolean
Default
nix
false
Example
nix
true
Declaration

nps.stacks.bytestash.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/jordan-dalby/ByteStash/wiki/FAQ#environment-variables

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

nps.stacks.bytestash.jwtSecretFile

Path to the file containing the JWT secret.

Type
plaintext
absolute path
Declaration