Commit graph

21 commits

Author SHA1 Message Date
Inex Code 2f07bb37ce feat: update API deps 2023-10-18 13:59:42 +03:00
Inex Code a5b965f08f fix(api): Python version 2023-03-17 15:09:13 +03:00
Inex Code bdaf88208f fix: Huey version 2023-03-17 14:54:14 +03:00
Inex Code 895a816ef5 fix: one more path to backups data 2022-11-08 02:55:26 +03:00
inexcode 53c9655b7b Switched to binds, volume management, new API 2022-08-26 14:21:05 +04:00
inexcode 8c81f24fa7 Add util-linux and e2fsprogs to SP API path
This is required for disk space analysis and file system extension by the API
2022-07-27 16:14:38 +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 ea7572c4e9 Prevent sending SIGKILL to rebuild service 2022-04-29 15:48:08 +03:00
Inex Code a5b57d378d Fix kill mode for rebuild services 2022-04-29 15:19:38 +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 2dc389799a Move sp-api to nix overlay 2021-11-17 16:35:00 +03:00
Inex Code bc669579f7 Update API revision 2021-11-17 13:37:27 +03:00
Inex Code 5ac099afc4 Add systemd units for nixos-rebuild 2021-11-17 13:34:55 +03:00
Inex Code 60f8e77523 Update rest-api revision 2021-11-17 11:55:14 +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 b4bc3a4ffc Oops, types.string is deprecated
See https://github.com/NixOS/nixpkgs/pull/66346
2021-11-16 13:30:11 +03:00
Inex Code 3e710e61d2 Add api token param 2021-11-16 13:28:16 +03:00
Inex Code c2a4385b04 Add portalocker to api package 2021-11-15 17:12:33 +03:00
Inex Code 85aaf52635 Initial commit 2021-11-15 13:02:05 +03:00