anchor
Offline-first, self-hostable note-taking application
Example
nix
nps.stacks.anchor = {
enable = true;
oidc.enable = true;
};Stack Options
nps.stacks.anchor.containers.anchor
Alias of {option}services.podman.containers.anchor.
nps.stacks.anchor.containers.anchor-db
Alias of {option}services.podman.containers.anchor-db.
nps.stacks.anchor.db.passwordFile
The file containing the PostgreSQL password. Only used when db.type is set to "postgres".
nps.stacks.anchor.db.type
Type of database to use
nps.stacks.anchor.enable
Whether to enable anchor.
nps.stacks.anchor.extraEnv
Extra environment variables to set for the container. Variables can be either set directly or sourced from a file (e.g. for secrets).
Type
plaintext
attribute set of (null or boolean or signed integer or string or absolute path or (submodule))
Default
nix
{ }
Declaration
nps.stacks.anchor.oidc.enable
Whether to enable OIDC login with Authelia. This will register an OIDC client in Authelia and setup the necessary configuration.
See https://github.com/zhfahim/anchor?tab=readme-ov-file#oidc-authentication
nps.stacks.anchor.oidc.userGroup
Users of this group will be able to log in