ghost: add mastodon
This commit is contained in:
parent
9c1709c039
commit
5eca20902c
2 changed files with 25 additions and 12 deletions
|
@ -70,6 +70,14 @@
|
|||
};
|
||||
};
|
||||
|
||||
services.mastodon = {
|
||||
enable = true;
|
||||
localDomain = "social.lelgenio.xyz";
|
||||
configureNginx = true;
|
||||
smtp.fromAddress = "lelgenio@disroot.org";
|
||||
extraConfig.SINGLE_USER_MODE = "true";
|
||||
};
|
||||
|
||||
services.nginx.virtualHosts.${config.services.nextcloud.hostName} = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
|
@ -81,6 +89,11 @@
|
|||
|
||||
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
||||
|
||||
swapDevices = [{
|
||||
device = "/swap/swapfile";
|
||||
size = (1024 * 2); # 2 GB
|
||||
}];
|
||||
|
||||
system.stateVersion = "23.05"; # Never change this
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue