From 9240153c62801fc47ce0053e03550f912f2b3ff7 Mon Sep 17 00:00:00 2001 From: yuri Date: Wed, 15 Nov 2023 12:18:23 +0100 Subject: [PATCH] Add vapid public key --- config/hosts/mastodon/mastodon.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/hosts/mastodon/mastodon.nix b/config/hosts/mastodon/mastodon.nix index 620e379..921208c 100644 --- a/config/hosts/mastodon/mastodon.nix +++ b/config/hosts/mastodon/mastodon.nix @@ -25,6 +25,7 @@ let }); }; pkgs-overlay = pkgs.extend mastodonNekoverseOverlay; + vapidPublicKey = pkgs.writeText "vapid-public-key" "BDCbFEDCZ8eFuWr3uEq4Qc30UFZUQeNpF8OCw6OjPwAtaKS1yTM3Ue749Xjqy5WhBDjakzlixh4Gk7gluUhIdsU="; in { services.mastodon = { @@ -33,6 +34,7 @@ in localDomain = "social.nekover.se"; secretKeyBaseFile = "/secrets/mastodon-secret-key-base.secret"; otpSecretFile = "/secrets/mastodon-otp-secret.secret"; + vapidPublicKeyFile = "${vapidPublicKey}"; vapidPrivateKeyFile = "/secrets/mastodon-vapid-private-key.secret"; smtp = { authenticate = true;