This commit is contained in:
nyanloutre 2018-05-03 00:40:16 +02:00
parent c9ec7123a3
commit a684bb89d8
1 changed files with 8 additions and 0 deletions

View File

@ -7,6 +7,7 @@ let
riot_port = 52345;
organizr_port = 52346;
pgmanage_port = 52347;
in
{
@ -30,6 +31,7 @@ in
matrix = { ip = "127.0.0.1"; port = 8008; auth = false; };
organizr = { ip = "127.0.0.1"; port = organizr_port; auth = true; };
calibre = { ip = "127.0.0.1"; port = 8080; auth = false; };
pgmanage = { ip = "127.0.0.1"; port = pgmanage_port; auth = true; };
};
services.mailserver.enable = true;
@ -196,6 +198,12 @@ in
home = "/var/lib/calibre";
};
services.pgmanage.enable = true;
services.pgmanage.port = pgmanage_port;
services.pgmanage.connections = {
localhost = "hostaddr=127.0.0.1 port=5432 dbname=postgres";
};
networking.firewall.allowedTCPPorts = [
111 2049 4000 4001 4002 # NFS
3483 9000 9090 # Slimserver