MyNixOS website logo
option

services.mastodon.otpSecretFile

Path to file containing the OTP secret. A new OTP secret can be generated by running:

nix build -f '<nixpkgs>' mastodon; cd result; bin/rake secret

If this file does not exist, it will be created with a new OTP secret.

Declarations
Type
string
Default
"/var/lib/mastodon/secrets/otp-secret"