From dde11064e904095085f7d335baade1ce5e365895 Mon Sep 17 00:00:00 2001 From: Daniel Kempkens Date: Wed, 5 Apr 2023 12:13:11 +0200 Subject: [PATCH] atticd: use postgres --- agenix/hosts/attic/atticd/environment.age | 41 +++++++++++------------ system/nixos/atticd.nix | 2 +- 2 files changed, 21 insertions(+), 22 deletions(-) diff --git a/agenix/hosts/attic/atticd/environment.age b/agenix/hosts/attic/atticd/environment.age index df472fc..e4456f9 100644 --- a/agenix/hosts/attic/atticd/environment.age +++ b/agenix/hosts/attic/atticd/environment.age @@ -1,23 +1,22 @@ -----BEGIN AGE ENCRYPTED FILE----- -YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IHNzaC1lZDI1NTE5IE10R3A2ZyBYazZq -MGtJTUE1VFVIdkYyUEtmZ1ZLTDllVFVpcFVQRTBXNTAxcHFmc2tNCkNqREFPY1h0 -WkJHdkY0amQ5eFdUamtDNklCckRLaDN4YXlhZWJrYVRSYmcKLT4gc3NoLWVkMjU1 -MTkgc1ZmNkNBIDNRWENHbmcxdk1hM0liSTRSd2hzNGVaWFpQbmIyY0pLYzREU0Iz -TUlvVm8KOGVxamhSTHRhdXRPeUFZOFV6YjZINityRlI4cEZTbTJNQ3dyd01HY041 -RQotPiAxJy55WmNkLS1ncmVhc2UgWVFpUyAxXiNJfUAKMmgrVGM1TWVhUVZnTmlJ -cmdBZHpRSWpUY1orNW1GUEpKNjQ4cXlKWXNUZ01DS043TWFURVRSZkpDTEpjSWRz -RgpPZlBEUE5WNXE1cFI2c3VSZVg1NmlJSGZsQTBMTWtpL0hVNVFqNlFQZ3h2NFFP -MnlDS1UKLS0tIEtra0RjZDdrSVVVV3Q3Y2E3ekdudG8wSUVQekFUSVdTajU3NkdB -TTUyMk0KnLL+jCi3bEONDZoiNsPDoUr9cI+hIYYYdtjLw9pMR2ed0RF/T5Zg4xc+ -qGCxTZBxkxLTz4OQtmM970bOKHGfLveHQqcFX2xg4qYI2H5nQxOg5taIvVMNbXLZ -akDS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4YTk5bVBhVkk4VkljdTVZK2cxL0lWYThT +OXF0QwpERHp3dUczWVVEWUI1WWdqCi0tLSBFcVVFMHBkUXhYUUlPSnVUNWtZenp2 +RWhyYUFrQk1DOXR1TWF3WVFBQ2NrCouVDpt2E9W7zW64HNImenrtJJq9Ioj2Fxr5 +my6Tc3dsVAv4J+G1isCqpGxEXfygWI9/ER6gyReIn+ja7Ul59DJMl/LwAT6wWQne +B5dIWdZNINZp4kODXpoyRFvJW0hAw+D6FJf2Pl2PdLIN+d95v6ttEMQK0X1j/luh +0FqzWKVtIPBhaRgJXVbgARlmO23Bhq81XsJrXG+WFrqz7rcSmzvKfPXqt9q+b2hd +K22D7QIykhR4CKcxmNFiVNsP0KR6a/NufTg37u53EvG6X9w1cEDIHvxym9vNdEQx +ioVL+oXbmKaeyR1n999oaYLjUICt2XFaIcaVUkjxlOrgo1cTazZisU/6TmOaxoQY +Z8VYUr032AwpQKpVhumW7QFcBUf+K7L1KYcKCQyffWXsLocB1MgN2hKKNBbSkC9b +XR34Rm3H/tkVIlTI1N2fz+aqfbzalVA7XUqGy5WtaLieZ+VI4rk23kXLAsZvcdB0 +/8ekRO8uQTMSC8yluFi+6HwIUF2w2Lr47nzedcYOu27uiXIGK2DE8TDzBm2LSQrF +AjqDkUmgpJPXAv9lbuhsoWtoyAAVw5xOzaWX0wudWA0FQhMXmIGUysoHGl6sIlZX +4c1+4TWrJsSQabE60PvuKFwRpMR+1ezyTeXausClGxlW7CKAPjksO54x1H1SMsrX +3iFW3b6qHJMZfQmsEmJlAZnbkyVlEOPpEya4DgCCCMw/kdVjhcvk -----END AGE ENCRYPTED FILE----- diff --git a/system/nixos/atticd.nix b/system/nixos/atticd.nix index 9995f82..ce24a49 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 = "postgresql://attic?host=10.99.99.3&user=attic"; + database.url = ""; allowed-hosts = [ "${fqdn}" ]; api-endpoint = "https://${fqdn}/";