services.linkwarden.secretFiles

NixOS option

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>

type: attribute set of (null or string)
Default
{ }
Example
{
  NEXTAUTH_SECRET = "/run/secrets/linkwarden_secret";
  POSTGRES_PASSWORD = "/run/secrets/linkwarden_postgres_passwd";
}
declared in: nixos/modules/services/web-apps/linkwarden.nixView source on NixOS/nixpkgs →