forked from Fediversity/Fediversity
tweaks
This commit is contained in:
parent
6942d1dcf2
commit
ecf89fc0d0
|
@ -7,7 +7,8 @@ nixos-rebuild build-vm --flake .#mastodon
|
|||
|
||||
Now you can access mastodon at <https://social.local.gd:44443>
|
||||
|
||||
You will have to "accept the security risk".
|
||||
- You will have to "accept the security risk".
|
||||
- It may take a minute for the webpage to come online. Until then you will see 502 Bad Gateway
|
||||
|
||||
# TODOs
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
configureNginx = true;
|
||||
|
||||
# TODO: configure a mailserver so this works
|
||||
smtp.fromAddress = "mastodon_vm";
|
||||
# smtp.fromAddress = "mastodon@social.local.gd";
|
||||
|
||||
# TODO: this is hardware-dependent. let's figure it out when we have hardware
|
||||
# streamingProcesses = 1;
|
||||
|
@ -41,10 +41,14 @@
|
|||
# SEE: local.gd
|
||||
localDomain = "social.local.gd";
|
||||
|
||||
smtp = {
|
||||
fromAddress = "mastodon@social.local.gd";
|
||||
createLocally = false;
|
||||
};
|
||||
# from the documentation: recommended is the amount of your CPU cores minus one.
|
||||
# but it also must be a positive integer
|
||||
streamingProcesses = let
|
||||
ncores = config.virtualistation.cores;
|
||||
ncores = config.virtualisation.cores;
|
||||
max = x: y: if x > y then x else y;
|
||||
in
|
||||
max 1 (ncores - 1);
|
||||
|
@ -59,6 +63,7 @@
|
|||
};
|
||||
};
|
||||
|
||||
virtualisation.memorySize = 2048;
|
||||
virtualisation.forwardPorts = [
|
||||
{
|
||||
from = "host";
|
||||
|
|
Loading…
Reference in a new issue