all repos — nixfiles @ 5b36d62d076d2f567d07549df1c8b8cbda13612d

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

satoshipay: don't run postgres as a system daemon (use docker)

Alan Pearce
commit

5b36d62d076d2f567d07549df1c8b8cbda13612d

parent

a4d0a3c574f960ef1304c6f01f56cbb0e96aa014

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

jump to
M system/settings/satoshipay.nixsystem/settings/satoshipay.nix
@@ -30,30 +30,6 @@ ip6tables -A nixos-fw -p tcp --source ${dockerConfig.fixed-cidr-v6} -j nixos-fw-accept
ip6tables -A nixos-fw -p udp --source ${dockerConfig.fixed-cidr-v6} -j nixos-fw-accept ''; - services.postgresql = { - enable = true; - ensureDatabases = ["satoshipay"]; - authentication = '' - # TYPE DATABASE USER ADDRESS METHOD - local all postgres trust - local all all md5 - ''; - ensureUsers = [ - { - name = "alan"; - ensurePermissions = { - "DATABASE satoshipay" = "ALL PRIVILEGES"; - }; - } - { - name = "satoshipay"; - ensurePermissions = { - "DATABASE satoshipay" = "ALL PRIVILEGES"; - }; - } - ]; - }; - nix.gc.dates = "12:30"; system.autoUpgrade.dates = "13:05";