Add vapid public key
This commit is contained in:
parent
687ba97c6e
commit
a689aae656
|
@ -25,6 +25,7 @@ let
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
pkgs-overlay = pkgs.extend mastodonNekoverseOverlay;
|
pkgs-overlay = pkgs.extend mastodonNekoverseOverlay;
|
||||||
|
vapidPublicKey = pkgs.writeText "vapid-public-key" "BDCbFEDCZ8eFuWr3uEq4Qc30UFZUQeNpF8OCw6OjPwAtaKS1yTM3Ue749Xjqy5WhBDjakzlixh4Gk7gluUhIdsU=";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
services.mastodon = {
|
services.mastodon = {
|
||||||
|
@ -33,6 +34,7 @@ in
|
||||||
localDomain = "social.nekover.se";
|
localDomain = "social.nekover.se";
|
||||||
secretKeyBaseFile = "/secrets/mastodon-secret-key-base.secret";
|
secretKeyBaseFile = "/secrets/mastodon-secret-key-base.secret";
|
||||||
otpSecretFile = "/secrets/mastodon-otp-secret.secret";
|
otpSecretFile = "/secrets/mastodon-otp-secret.secret";
|
||||||
|
vapidPublicKeyFile = "${vapidPublicKey}";
|
||||||
vapidPrivateKeyFile = "/secrets/mastodon-vapid-private-key.secret";
|
vapidPrivateKeyFile = "/secrets/mastodon-vapid-private-key.secret";
|
||||||
smtp = {
|
smtp = {
|
||||||
authenticate = true;
|
authenticate = true;
|
||||||
|
|
Loading…
Reference in a new issue