From 2955832f15a6209b111130e0fd007079023de0aa Mon Sep 17 00:00:00 2001 From: Daniel Kempkens Date: Wed, 5 Apr 2023 12:22:05 +0200 Subject: [PATCH] atticd: use postgres --- agenix/hosts/attic/atticd/environment.age | 35 ++++++++++------------ secret/hosts/attic.nix | Bin 101 -> 200 bytes system/nixos/atticd.nix | 2 +- 3 files changed, 16 insertions(+), 21 deletions(-) diff --git a/agenix/hosts/attic/atticd/environment.age b/agenix/hosts/attic/atticd/environment.age index e4456f9..c426c08 100644 --- a/agenix/hosts/attic/atticd/environment.age +++ b/agenix/hosts/attic/atticd/environment.age @@ -1,22 +1,17 @@ -----BEGIN AGE ENCRYPTED FILE----- -YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IHNzaC1lZDI1NTE5IE10R3A2ZyBhYUcv -dk9WcnV2WWJ5R1Boa0ZIYWQvNkh5OFd4SXVaWjFZay9ZUGh4M1UwClkrQ09YbGdC -UmtSSDBUZkw1MHI5ZDN5ejIvZHFJc0UvZzdJOWRBcXRnVE0KLT4gc3NoLWVkMjU1 -MTkgc1ZmNkNBIDZjODFEcXRHMjJ6NkxKYnM3R3dCc1FGZ2dQWEM2bzJNNHpaMk5t -YllQaWMKb2xPcGRVSUdBRktWZFBvTllaRjlEb3h2Zi9kTjVtTTc0ZzV3WTRUN3hm -bwotPiBBTF4tZ3JlYXNlIFF0IC9jNml+cSAsRiwzIC1qYVIKcEtuM2wxSmpLVjYx -bnFJZHptWkdRNFAxZHBDS0F2Qnhyd3N4YTk5bVBhVkk4VkljdTVZK2cxL0lWYThT -OXF0QwpERHp3dUczWVVEWUI1WWdqCi0tLSBFcVVFMHBkUXhYUUlPSnVUNWtZenp2 -RWhyYUFrQk1DOXR1TWF3WVFBQ2NrCouVDpt2E9W7zW64HNImenrtJJq9Ioj2Fxr5 -my6Tc3dsVAv4J+G1isCqpGxEXfygWI9/ER6gyReIn+ja7Ul59DJMl/LwAT6wWQne -B5dIWdZNINZp4kODXpoyRFvJW0hAw+D6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pTBynK0w6/5Xm7wSxtv29UNxkpghk3zMn5WmHVyes4EcReppEcM4QPPJt7 +0RcDAW9zywb+cdxAfew1LAaCf4kr6sB+jqxcmiU5vySBMb0odQujD2vsVXIsrMH/ +H8KyAfR9JEDYWM8j8clYsbpeMFIOQUH19dPU4h6PqvLYuSTILzMMYXTcJupEEk2x +MAztn78YyDWWna4wrE1jQberMEJHxEzrwiPQ3Nfg0BZ8yIDllDLIpeSiqSSt0fBz +3fIJQrQo2JtOR0P1qAVAkgktziO49cgHvqLB/uUe4q/SsujW5karknWLItQES4so +9W3ytKuM/AmaPAkJFiZbIGhko4l1Q9cA0m8CzsSU2d3JwzNn9l+/JUnDcffitqzB +ROMJ62Z5hRGePRC48TsLipFVMGohlTh8GbuHM7zOL/kKRb+TwMdI6c335KVB8sMH +zcwVAgxcWyrmzu/D8e7y7Fn/4avLJl0al5aZVBkIi/InasWP3IJOfoFu7Tbc+Ptd -----END AGE ENCRYPTED FILE----- diff --git a/secret/hosts/attic.nix b/secret/hosts/attic.nix index 8b13619275e406e1bccb51ce63c80a33b183a630..4c114d917be854b428f28436b8fa065d807336ab 100644 GIT binary patch literal 200 zcmV;(05|^tM@dveQdv+`0F5$*WMB-=D^^uSt57d=<{7CgI$sQ|0Ha9d+#OVe#6LB4 zkn#X;3Xzp0jHw44^?po%;bIIC@V}zX5O>5st&YgClv*2z%^8vHI|o$W_OafY1xK<% zW^<0KSR)iU283l&2XS;z+~{kEMst@ CgkFyT literal 101 zcmV-r0Gj^*M@dveQdv+`05(mLgGvT#q`BX=abPzv4F$iZkD!+!HN zp{N#6WNDpqed$tCc-4ycz^DrQ`9NtA^w{_ywzdx&gQY1!wsF}^Z(hF!#Y;uBC!+Jj HYITMea^5jT diff --git a/system/nixos/atticd.nix b/system/nixos/atticd.nix index ce24a49..4f42e1a 100644 --- a/system/nixos/atticd.nix +++ b/system/nixos/atticd.nix @@ -13,7 +13,7 @@ in settings = { listen = "127.0.0.1:8080"; - database.url = ""; + database.url = secret.atticd.database-url; allowed-hosts = [ "${fqdn}" ]; api-endpoint = "https://${fqdn}/";