Skip to content

microbin ​

Text and file sharing pastebin

Example ​

nix
{config, ...}: {
  nps.stacks.microbin = {
    enable = true;

    extraEnv = {
      MICROBIN_ADMIN_USERNAME = "admin";
      MICROBIN_ADMIN_PASSWORD.fromFile = config.sops.secrets."microbin/admin_password".path;
    };
  };
}

Stack Options ​

nps.stacks.microbin.enable ​

Whether to enable microbin.

Type
plaintext
boolean
Default
nix
false
Example
nix
true
Declaration

nps.stacks.microbin.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/szabodanika/microbin/blob/master/.env

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

Container Aliases ​

nps.stacks.microbin.containers.microbin ​

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

Type
plaintext
submodule
Declaration