services.mastodon.vapidPrivateKeyFile

NixOS option

Path to file containing the private 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 this file does not exist, it will be created with a new private key.

type: string
Default
"/var/lib/mastodon/secrets/vapid-private-key"
declared in: nixos/modules/services/web-apps/mastodon.nixView source on NixOS/nixpkgs →