MyNixOS website logo
option

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; bin/rake webpush:generate_keys

If mastodon.vapidPrivateKeyFiledoes not exist, it and this file will be created with a new keypair.

Declarations
Type
string
Default
"/var/lib/mastodon/secrets/vapid-public-key"