outline
Example
{config, ...}: {
outline = {
enable = true;
secretKeyFile = config.sops.secrets."outline/secret_key".path;
utilsSecretFile = config.sops.secrets."outline/utils_secret".path;
db.passwordFile = config.sops.secrets."outline/db_password".path;
oidc = {
enable = true;
clientSecretFile = config.sops.secrets."outline/authelia/client_secret".path;
clientSecretHash = "$pbkdf2-sha512$...";
};
};
}Stack Options
nps.stacks.outline.containers.outline
Alias of {option}services.podman.containers.outline.
nps.stacks.outline.containers.outline-db
Alias of {option}services.podman.containers.outline-db.
nps.stacks.outline.db.passwordFile
Path to the file containing the database password
nps.stacks.outline.db.username
Database user name
nps.stacks.outline.enable
Whether to enable outline.
nps.stacks.outline.extraEnv
Extra environment variables to set for the container.
Can be used to pass secrets such as the TMDB_ACCESS_TOKEN.
See https://github.com/outline/outline/blob/main/.env.sample
attribute set of (null or boolean or signed integer or string or absolute path or (submodule))
{ }
{
DEFAULT_LANGUAGE = "en_US";
TMDB_ACCESS_TOKEN = {
fromFile = "/run/secrets/tmdb_access_token";
};
}
nps.stacks.outline.oidc.clientSecretFile
The file containing the client secret for the OIDC client that will be registered in Authelia.
nps.stacks.outline.oidc.clientSecretHash
The hashed client_secret. Will be set in the Authelia client config. For examples on how to generate a client secret, see
https://www.authelia.com/integration/openid-connect/frequently-asked-questions/#client-secret
nps.stacks.outline.oidc.enable
Whether to enable OIDC login with Authelia. This will register an OIDC client in Authelia and setup the necessary configuration.
For details, see:
nps.stacks.outline.oidc.userGroup
Users of this group will be able to log in
nps.stacks.outline.secretKeyFile
Path to the file containing the secret key.
Can be generated using openssl rand -hex 32
See https://github.com/outline/outline/blob/main/.env.sample
nps.stacks.outline.utilsSecretFile
Path to the file containing the utils secret.
Can be generated using openssl rand -hex 32
See https://github.com/outline/outline/blob/main/.env.sample