diff options
author | Alan Pearce | 2021-02-24 15:03:54 +0100 |
---|---|---|
committer | Alan Pearce | 2021-02-24 15:03:54 +0100 |
commit | 5b36d62d076d2f567d07549df1c8b8cbda13612d (patch) | |
tree | 9b619087b9ec8eed17d6d6f24e19297358495d63 /system | |
parent | a4d0a3c574f960ef1304c6f01f56cbb0e96aa014 (diff) | |
download | nixfiles-5b36d62d076d2f567d07549df1c8b8cbda13612d.tar.lz nixfiles-5b36d62d076d2f567d07549df1c8b8cbda13612d.tar.zst nixfiles-5b36d62d076d2f567d07549df1c8b8cbda13612d.zip |
satoshipay: don't run postgres as a system daemon (use docker)
Diffstat (limited to 'system')
-rw-r--r-- | system/settings/satoshipay.nix | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/system/settings/satoshipay.nix b/system/settings/satoshipay.nix index 90517a61..351f3d34 100644 --- a/system/settings/satoshipay.nix +++ b/system/settings/satoshipay.nix @@ -30,30 +30,6 @@ in 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"; |