From 779c2364a41da3a83bdf707d49d7e6708352e31f Mon Sep 17 00:00:00 2001 From: Daniel Kempkens Date: Wed, 5 Apr 2023 11:53:35 +0200 Subject: [PATCH] atticd: use postgres --- agenix/hosts/attic/atticd/environment.age | 42 +++++++++++------------ system/nixos/atticd.nix | 2 +- 2 files changed, 22 insertions(+), 22 deletions(-) diff --git a/agenix/hosts/attic/atticd/environment.age b/agenix/hosts/attic/atticd/environment.age index bab1f8d..2c31a60 100644 --- a/agenix/hosts/attic/atticd/environment.age +++ b/agenix/hosts/attic/atticd/environment.age @@ -1,23 +1,23 @@ -----BEGIN AGE ENCRYPTED FILE----- -YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IHNzaC1lZDI1NTE5IE10R3A2ZyBEVWVO -YU5BSmk0R3FmOWpnd29kemV2Mm5uaGdsbUYyQURwSEQyV1VYRjFZCmZDMm1uU2tK -ZklDNS82blozb0c1S3Q0cVBTenJDS0J6V2VueFJGUXFTWkEKLT4gc3NoLWVkMjU1 -MTkgc1ZmNkNBIEl3cUozQmZubzE0TVZXL1N2ZVFuNVJUVHNXc3JMbTBSRmRobWJi -aEh3VGcKNW1lT0c1SWJqUVpRY0E1aDlTRlExSmhZQlVzT2x5bktrZkdyOU1HQzhE -YwotPiBjUTsxJCRObi1ncmVhc2UgODBSfAo2eDdSOHBGL1R6dytrYld4K2xRMEpu -RkFJbkpnKzR3UVJ0MVU2Q3hiS2lPVnN5cnI4QnVySDNoRVErclZOV3Q1CkJYUlMz -dDU4WmtkM1dtUmxWaUp6QnhHcDhGMFdNQjF0TkJIQ2NVUC92V1FnCi0tLSBNZkhG -V082SG41NHhONXJzVGZ2dXp1Wlk0bDl5d252czNOcGMzUE9oL0pzCosDLBkw2joQ -kXypZROIyTqL1p+UX31uP0IKm092T1iZVugzNx5MwEO9Yd4LRHGHML5CmfG85nyV -MSnQSvWOcQ0+JOGFbihwev/SW58Nt4SBbFvXIEQ4wrtagoW+leKro5oV9LRnRQmB -QD/fbgkzaTak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KRDg0RzVK +WnF0WWVKaXNUZjRKOTA4dXFMWlV0TDI0UQotLS0gY2xuVFF1U3hJL0NvN0JTVWda +QnRUM2N3bkNBREl2cHgyNXRJS1ZXRGdVTQr7kLrXHxjoUvjYkd1vQEL0rYme1tcu +jnUnHstoC+GdrN89msGBKeR57+nuFlkU4569DHaiowz7h4b4+n2vYzgD7e0kyfP4 +Rt23T/BeAMiMQRezO7e6RZTGDRsk/aj3/QbMfXR5URUvvgGx1SxiBG1cyEHEs+bj +qsGapXddfVnHM+URWx2x5ZyIczYRynCnRdP4ITWoKzUVnS9h6PeGHS+5HCXpYCDy +R3KOw3o42iOxtEeGwqDLlvvmz4CJKotQ4cEdQp1owmBpAlOUgwVlssionlP/wYpA +hdsiOVTBM3eAZSmsHyfeX7PnrAV53f0OPYz0fVpg/p2OPmokjUnTtT4GbKeMCo2i +KNz4fi5FIzgSwOV3DuZa9a2m8UoF/Xy9+AyY4HwOxevtbZge8APEYg6t1xP6befQ +2treQU+ApSzjb8L7GpWl+pXXL66N3mownsTPEMI6nBiZDfWeeWkrYay6J3dzBbLk +k2r0V6KTbaUkyH/HR2Yhyo2tPjkex5NdhMsoTJl0t4Ek1OFCu0GPL3RmmNiX92Uy +AXL0T+ngQ5p4yAuyJVIkMFOUTKX9u3m1fRA91ez9+yIHC4gxvnl6iE/q1kWJOjZU +PUaRkvWRyEmw/Paw1tdfLI3opQj8ne3ib74hBiRSVb1GHApSi4rDpsOi5qBbeDqO +fVguAXDTsMMYl6jAaT+WBZe2c3kftJF823tUFJERTQ68gTUO2AIUcHFsLVT6zesp +5UEfUONHfsY343Lt5IE= -----END AGE ENCRYPTED FILE----- diff --git a/system/nixos/atticd.nix b/system/nixos/atticd.nix index defa1f2..9995f82 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&username=attic"; + database.url = "postgresql://attic?host=10.99.99.3&user=attic"; allowed-hosts = [ "${fqdn}" ]; api-endpoint = "https://${fqdn}/";