From a684bb89d8e9ac075f3f438f15fb5e339caf5945 Mon Sep 17 00:00:00 2001 From: nyanloutre Date: Thu, 3 May 2018 00:40:16 +0200 Subject: [PATCH] pgmanage --- services.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/services.nix b/services.nix index 216c948..c3f9f83 100644 --- a/services.nix +++ b/services.nix @@ -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