all repos — nixfiles @ 50cf34fec72ec98beeca2e61b2ba5cce92e81e0f

System and user configuration, managed by nix and home-manager

prefect: enable local network postgres connections

Alan Pearce
commit

50cf34fec72ec98beeca2e61b2ba5cce92e81e0f

parent

aac8d856b6ae176b6d16af376c2f8c2b7eb088ef

1 file changed, 8 insertions(+), 0 deletions(-)

jump to
M system/prefect.nixsystem/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";