MyNixOS website logo
option

services.linkwarden.secretFiles

Attribute set containing paths to files to add to the environment of linkwarden. The files are not added to the nix store, so they can be used to pass secrets to linkwarden. Refer to the documentation for options.

Linkwarden needs at least a nextauth secret. To set a database password use POSTGRES_PASSWORD:

NEXTAUTH_SECRET=<secret>
POSTGRES_PASSWORD=<pass>
Declarations
Type
attribute set of (null or string)
Default
{ }
Example
{
  NEXTAUTH_SECRET = "/run/secrets/linkwarden_secret";
  POSTGRES_PASSWORD = "/run/secrets/linkwarden_postgres_passwd";
}