services.mastodon.vapidPublicKeyFile
Path to file containing the public key used for Web Push Voluntary Application Server Identification. A new keypair can be generated by running:
nix build -f '<nixpkgs>' mastodon; cd result; RAILS_ENV=production bin/rake webpush:generate_keys
If mastodon.vapidPrivateKeyFiledoes not
exist, it and this file will be created with a new keypair.
- Type
string- Default
"/var/lib/mastodon/secrets/vapid-public-key"- Declared
- <nixpkgs/nixos/modules/services/web-apps/mastodon.nix>