Commit graph

21 commits

Author SHA1 Message Date
Alexander Tomokhov 7c5bc70fec rm -rf /old-root on every boot
NixOS stage 1 init moves all remnants of previous OS to /old-root.
2023-11-21 03:01:28 +04:00
Alexander Tomokhov 6a3a83e270 files.nix: /etc/nixos/userdata.json => /etc/selfprivacy/secrets.json 2023-11-18 09:11:54 +04:00
Alexander Tomokhov b64be4e34f /etc/nixos/userdata/userdata.json => /etc/nixos/userdata.json 2023-11-18 08:54:29 +04:00
Alexander Tomokhov 80447abb2e selfprivacy.userdata -> selfprivacy; SP modules -> selfprivacy.modules 2023-11-16 04:00:15 +04:00
Alexander Tomokhov 41c3a0fc00 add PoC SP module for nextcloud 2023-11-15 22:36:19 +04:00
Alexander Tomokhov 80ba7d0bda PoC working SP module system
+ simple-nixos-mailserver as an SP module
2023-11-13 00:37:50 +04:00
Inex Code bc5778fdea feat(dns): Add support for DigitalOcean DNS and DeSEC DNS (#31)
Co-authored-by: inexcode <inex.code@selfprivacy.org>
Co-authored-by: NaiJi  <naiji@udongein.xyz>
Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nixos-config/pulls/31
2023-06-05 15:45:07 +03:00
Inex Code 5e64b08381 feat(bitwarden): Add admin token support 2023-05-03 10:48:57 +03:00
Inex Code 7a6f57def8 feat(userdata): Support for newer JSON schema of provider 2022-11-08 01:44:09 +03:00
inexcode 52b896da45 Fix Nextcloud initialization 2022-08-10 15:09:44 +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 67851c7bee Fix tmpfiles.d escaping 2022-06-09 22:52:54 +03:00
Inex Code 5b4128c010 Renamed bitwarden user to vaultwaden 2022-05-02 11:04:02 +03:00
Inex Code 1b8bdb013a Fix pleroma permissions 2021-12-16 16:58:26 +03:00
Inex Code bfd2f696a2 Make config files in /var rewritable by Nix 2021-12-06 21:37:43 +03:00
Inex Code 1ba17b61e7 Update API to properly support b2 2021-12-06 21:37:39 +03:00
Inex Code 4c59657fc9 Fix rclone config 2021-11-30 23:49:35 +03:00
Illia Chub df2453a6fa Added rclone config creation 2021-11-24 07:53:46 +02:00
Inex Code 7c2264ff89 Fix errors caused by temp files creation 2021-11-17 11:54:36 +03:00
Illia Chub a2704e2717 Fixed restic credentials path 2021-11-16 17:14:41 +02:00
Inex Code 85aaf52635 Initial commit 2021-11-15 13:02:05 +03:00