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.
- Type
string- Default
"/var/lib/mastodon/secrets/secret-key-base"- Declared
- <nixpkgs/nixos/modules/services/web-apps/mastodon.nix>