Commit graph

18 commits

Author SHA1 Message Date
Inex Code 9a8af62e0b fix: State Version type 2023-03-17 15:10:47 +03:00
Inex Code 2e175f8c10 feat: Add state version 2023-03-17 14:50:54 +03:00
Inex Code 3dd8ff1821 feat: add dns.useStagingACME option
Used for testing environments, so we don't stumble upon ACME rate limits.
2022-11-16 11:02:20 +03:00
Inex Code 7a6f57def8 feat(userdata): Support for newer JSON schema of provider 2022-11-08 01:44:09 +03:00
inexcode 53c9655b7b Switched to binds, volume management, new API 2022-08-26 14:21:05 +04: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 c3ee4d00fc Add ability to skip migrations in API 2022-01-14 03:43:26 +03:00
Inex Code b9d9af01e2 Fix wrong type of admin ssh keys 2021-11-29 22:17:37 +03:00
Inex Code 255ea374c0 API controlled timezone, autoupgrades and SSH keys 2021-11-22 19:53:43 +03:00
Inex Code 9c2be115f8 Fix not being able to create a server without trusted keys 2021-11-18 21:12:59 +03:00
Inex Code 4a0f1db987 Hotfix: add default empty value for root ssh keys 2021-11-18 20:45:20 +03:00
Inex Code 3f9f439c95 Hotfix: default value for users option 2021-11-18 20:36:59 +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 7193030b37 Add more SSH settings 2021-11-15 16:35:04 +03:00
Inex Code 4ba0dd5396 It builds! 2021-11-15 13:29:20 +03:00
Inex Code 85aaf52635 Initial commit 2021-11-15 13:02:05 +03:00