MyNixOS website logo
option

services.mastodon.secretKeyBaseFile

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

nix build -f '<nixpkgs>' mastodon; cd result; bin/bundle exec rails secret

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

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