From 4f2ef010fbf4545941d6dd5c752993bf410d7b47 Mon Sep 17 00:00:00 2001 From: Kabbone Date: Tue, 14 Mar 2023 20:02:51 +0100 Subject: [PATCH] server: configure woodpecker postgres --- modules/services/server/postgresql.nix | 1 + secrets/services/postgresql/initScript.age | Bin 3000 -> 3186 bytes secrets/services/woodpecker/environment.age | Bin 1858 -> 1868 bytes 3 files changed, 1 insertion(+) diff --git a/modules/services/server/postgresql.nix b/modules/services/server/postgresql.nix index bc6593c..becb096 100644 --- a/modules/services/server/postgresql.nix +++ b/modules/services/server/postgresql.nix @@ -23,6 +23,7 @@ authentication = pkgs.lib.mkOverride 14 '' local all postgres peer host giteadb gitea localhost scram-sha-256 + host woodpeckerdb woodpecker localhost scram-sha-256 host nextclouddb nextcloud localhost scram-sha-256 host synapsedb synapse localhost scram-sha-256 host whatsappdb mautrixwa localhost scram-sha-256 diff --git a/secrets/services/postgresql/initScript.age b/secrets/services/postgresql/initScript.age index e3f78bcb7b51839aac5b71b9d02e06728f03bc89..80d51ddfd008fde4e1df235afb748998b0a516ad 100644 GIT binary patch literal 3186 zcmY+?=|9v70|4++9&1VxC0jIGiL&c_)l9E+wLv1~ueet|_{(|qDuUG*@0D7s}Wwfdc`qc)r0&0hYBI3Xn zi!uU`Ay6nd4y*?foKg;$$Yz?@ToTo4mRr<#36p_HB(Ql#o7oA&Y7jyr+$D0F90DF2 zsR1R6lNiZ56om<+N6IZ6a-iJ%AvJO2fH8^4mhz-50wgIpnS>W(wMGn;t56b+DF!=KK!V^!!bq`Dh88AhjVMe8 zKVBfSnn47N04XE`biU9?Bjd~(oh(r%l(A4Ms8~&Ru_z)X-zLXtRb;6mMad(;6)=-j z1wd#Hwv{4O!g(OP3ZYLlA`LDq6K91d&@%)AGgi#B>nIGajL(M|)p~%!va(%Nvz&~8 z5oAPh0wsZmX7hDqE!UU~ayT;B@k9t;lxWhDH3%_X0~fjYCKev4r#ZPPCcYM-16W!f z)@2}DwLFy4MRoD1@_2_0Duh_gDiD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