prefect: enable local network postgres connections
Alan Pearce alan@alanpearce.eu
Mon, 16 Nov 2020 15:40:06 +0100
1 files changed, 8 insertions(+), 0 deletions(-)
jump to
M system/prefect.nix → system/prefect.nix
@@ -50,6 +50,14 @@ services.xserver = { xautolock.enable = pkgs.lib.mkForce false; }; + services.postgresql = { + enableTCPIP = true; + authentication = '' + # TYPE DATABASE USER ADDRESS METHOD + host all all samenet md5 + ''; + }; + networking.firewall.allowedTCPPorts = [ config.services.postgresql.port ]; powerManagement.enable = false; powerManagement.cpuFreqGovernor = "performance";