Skip to content

memos

Example

nix
{
  memos = {
    enable = true;

    oidc = {
      registerClient = true;
      clientSecretHash = "$pbkdf2-sha512$...";
    };
  };
}

Stack Options

nps.stacks.memos.containers.memos

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

Type
plaintext
submodule
Declaration

nps.stacks.memos.containers.memos-db

Alias of {option}services.podman.containers.memos-db.

Type
plaintext
submodule
Declaration

nps.stacks.memos.db.passwordFile

The file containing the PostgreSQL password for the database. Only used if db.type is set to "postgres".

Type
plaintext
absolute path
Declaration

nps.stacks.memos.db.type

Type of the database to use. Can be set to "sqlite" or "postgres". If set to "postgres", the passwordFile option must be set.

Type
plaintext
one of "sqlite", "postgres"
Default
nix
"sqlite"
Declaration

nps.stacks.memos.db.username

The PostgreSQL user to use for the database. Only used if db.type is set to "postgres".

Type
plaintext
string
Default
nix
"memos"
Declaration

nps.stacks.memos.enable

Whether to enable memos.

Type
plaintext
boolean
Default
nix
false
Example
nix
true
Declaration

nps.stacks.memos.oidc.clientSecretHash

The hashed client_secret. For examples on how to generate a client secret, see

https://www.authelia.com/integration/openid-connect/frequently-asked-questions/#client-secret

Type
plaintext
string
Declaration

nps.stacks.memos.oidc.registerClient

Whether to register an OIDC client in Authelia. If enabled you need to provide a hashed secret in the client_secret option.

To enable OIDC Login for Memos, you will have to configure it in the Web UI.

For details, see:

Type
plaintext
boolean
Default
nix
false
Declaration

nps.stacks.memos.oidc.userGroup

Users of this group will be able to log in

Type
plaintext
string
Default
nix
"memos_user"
Declaration