Commit graph

9 commits

Author SHA1 Message Date
Inex Code 58e4f3acd8 feat: update API deps 2023-07-20 19:52:24 +03:00
Inex Code 895a816ef5 fix: one more path to backups data 2022-11-08 02:55:26 +03:00
Inex Code c1ed3a522c Move secrets out of Nix Store (#19)
Nix store is world-readable, and while nix repl fails to get the secret due to file permissions, we should still set up secrets without getting them in Nix store.

In the past tmpfiles.d was used, but its entire contents get to the nix store.

Now, all files with secrets are generated in activation scripts, with the help of jq and sed.

Also dead Pleroma code was deleted, but CAPTCHA is still broken.

Co-authored-by: inexcode <inex.code@selfprivacy.org>
Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nixos-config/pulls/19
Co-authored-by: Inex Code <inex.code@selfprivacy.org>
Co-committed-by: Inex Code <inex.code@selfprivacy.org>
2022-07-19 15:18:46 +03:00
Inex Code 1a31e32424 Add groups to users 2022-04-20 13:22:16 +03:00
Inex Code 1ba17b61e7 Update API to properly support b2 2021-12-06 21:37:39 +03:00
Inex Code 775d64dcb0 Provide backup env vars to api 2021-11-16 19:05:05 +03:00
Inex Code 8b5865c332 Add Swagger to API package 2021-11-16 17:08:58 +03:00
Inex Code 3e710e61d2 Add api token param 2021-11-16 13:28:16 +03:00
Inex Code 85aaf52635 Initial commit 2021-11-15 13:02:05 +03:00