Skip to content

bytestash ​

Web application designed to store, organise, and manage your code snippets efficiently

Example ​

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

Stack Options ​

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

Container Aliases ​

nps.stacks.bytestash.containers.bytestash ​

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

Type
plaintext
submodule
Declaration