MyNixOS website logo
option

services.tinyauth.environmentFile

Path to an environment file loaded for Tinyauth.

This can be used to securely store tokens and secrets outside of the world-readable Nix store.

Example contents of the file:

TINYAUTH_AUTH_USERS=user-hash
TINYAUTH_OAUTH_PROVIDERS_GOOGLE_CLIENTSECRET=client-secret
Declarations
Type
absolute path
Default
"/dev/null"
Example
"/var/lib/secrets/tinyauth"