Jump to content

Mastodon: Difference between revisions

73 bytes removed ,  23 June 2023
m
no edit summary
imported>Onny
mNo edit summary
imported>Onny
mNo edit summary
Line 8: Line 8:


<syntaxHighlight lang=nix>
<syntaxHighlight lang=nix>
  security.acme = {
services.mastodon = {
    acceptTerms = true;
  enable = true;
    defaults.email = "<EMAIL TO USE FOR CORRESPONDENCE WITH Let's Encrypt>";
  localDomain = "social.example.com"; # Replace with your own domain
  };
  configureNginx = true;
  services.mastodon = {
  smtp.fromAddress = "noreply@social.example.com"; # Email address used by Mastodon to send emails, replace with your own
    enable = true;
  extraConfig.SINGLE_USER_MODE = "true";
    localDomain = "social.example.com"; # Replace with your own domain
};
    configureNginx = true;
 
    smtp.fromAddress = "noreply@social.example.com"; # Email address used by Mastodon to send emails, replace with your own
security.acme = {
    extraConfig.SINGLE_USER_MODE = "true";
   acceptTerms = true;
   };
   defaults.email = "<EMAIL TO USE FOR CORRESPONDENCE WITH Let's Encrypt>";
   networking.firewall.allowedTCPPorts = [ 80 443 ];
};
</syntaxHighlight>
</syntaxHighlight>


Anonymous user