Commit graph

177 commits

Author SHA1 Message Date
inexcode e4ba827d5a Merge branch '3rd-party-bumps/nextcloud-24' into api-redis 2022-11-04 11:57:09 +03:00
inexcode aeeffe42b1 feat: a redis database for SelfPrivacy API 2022-11-04 11:57:00 +03:00
inexcode 399790e202 chore(nextcloud): Upgrade Nextcloud to v24 2022-10-28 11:52:47 +03:00
inexcode 5f2ab0495b chore(mailserver): Update the simple-nixos-mailserver to the 22.05 version 2022-10-20 23:19:04 +03:00
inexcode 53c9655b7b Switched to binds, volume management, new API 2022-08-26 14:21:05 +04:00
inexcode 52b896da45 Fix Nextcloud initialization 2022-08-10 15:09:44 +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
NaiJi ✨ dbb6757d77 Merge pull request 'Remove alps from server configurtaion' (#18) from remove-alps into master
Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nixos-config/pulls/18
2022-06-24 18:55:47 +03:00
NaiJi 0c41badf3b Remove alps from server configurtaion 2022-06-24 18:51:29 +03:00
NaiJi ✨ 23e424b841 Update alp repository url 2022-06-22 13:45:30 +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 f6b3c26900 Add tokens.json to gitignore 2022-04-29 16:40:59 +03:00
Inex Code 9d1249d10e Remove channel definiton from autoUpgrade 2022-04-29 15:56:16 +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 289b715873 Merge pull request 'Add groups to users' (#17) from nixos-21.11-migration into master
Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nixos-config/pulls/17
2022-04-26 10:54:43 +03:00
Inex Code 1a31e32424 Add groups to users 2022-04-20 13:22:16 +03:00
Inex Code cb6378a970 Merge pull request 'Added fixes for VPN networking' (#16) from vpn-fix into master
Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nixos-config/pulls/16
2022-02-28 13:09:24 +02:00
Inex Code 4bf80d7a2d Added fixes for VPN networking
(cherry picked from commit d1620a9680)
2022-02-28 13:59:24 +03:00
Inex Code a0a6c99fe8 roll back the roll back 2022-02-16 11:06:51 +03:00
Inex Code 8cb55168eb Merge pull request 'jitsi-fixes' (#15) from jitsi-fixes into master
Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nixos-config/pulls/15
2022-02-16 08:30:24 +02:00
Illia Chub 896600bf52 Added missing dependencies 2022-02-16 07:01:12 +02:00
Illia Chub c03fd25959 Resolved build issues with DNS-01 nad webroot enabled 2022-02-16 06:59:59 +02:00
inexcode b583340e1d Revert "Merge pull request 'Fixed Jitsi functionality and Jitsi certificate resolution' (#14) from jitsi-fixes into master"
This reverts commit dc767677d8, reversing
changes made to d4bb381693.
2022-02-15 15:48:42 +03:00
Inex Code dc767677d8 Merge pull request 'Fixed Jitsi functionality and Jitsi certificate resolution' (#14) from jitsi-fixes into master
Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nixos-config/pulls/14
2022-02-15 14:09:45 +02:00
Illia Chub 163afde7cf Fixed Jitsi functionality and Jitsi certificate resolution 2022-02-08 08:44:54 +02:00
Inex Code d4bb381693 Merge pull request 'Add ability to skip migrations in API' (#11) from skipped-migrations into master
Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nixos-config/pulls/11
2022-01-14 02:58:58 +02:00
Inex Code c3ee4d00fc Add ability to skip migrations in API 2022-01-14 03:43:26 +03:00
Illia Chub f5ec301441 Resolved null limit zone memory allocation size 2021-12-21 11:57:03 +02:00
Illia Chub ae8e8b2c9b Temporarily disabled CSP headers as they tend to break some of our applications 2021-12-21 08:18:38 +02:00
Illia Chub b7f49e52c0 Merge pull request 'Added Qualys A+ rated SSL/TLS settings' (#8) from security-improvements into master
Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nixos-config/pulls/8
2021-12-20 19:18:58 +02:00
Illia Chub b5011cdd65
Added Qualys A+ rated SSL/TLS settings 2021-12-17 19:17:23 +02:00
Inex Code 1b8bdb013a Fix pleroma permissions 2021-12-16 16:58:26 +03:00
Inex Code 3f42ad5c68 Hotfix inability to build when custom user don't have ssh keys 2021-12-16 13:27:11 +03:00
Inex Code 63aaeec08c Remove PAM from mailserver and remove catchall 2021-12-15 17:42:47 +03:00
inex 1c1f353ea2 Merge pull request 'system-configuration' (#4) from system-configuration into master
Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nixos-config/pulls/4
2021-12-10 09:38:21 +02:00
Inex Code 0e60176b6e Overwrite nextcloud protocol to https 2021-12-06 21:37:45 +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 41cbf0f14e Merge pull request 'Add rclone config creation' (#3) from ilchub-patch-1 into system-configuration
Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nixos-config/pulls/3
2021-11-30 22:50:38 +02:00
Inex Code 4c59657fc9 Fix rclone config 2021-11-30 23:49:35 +03:00
Inex Code b9d9af01e2 Fix wrong type of admin ssh keys 2021-11-29 22:17:37 +03:00
Illia Chub df2453a6fa Added rclone config creation 2021-11-24 07:53:46 +02:00
Inex Code 255ea374c0 API controlled timezone, autoupgrades and SSH keys 2021-11-22 19:53:43 +03:00
Inex Code a71fd79588 Allow ssh-rsa keys for now, as mobile app generates them 2021-11-19 18:53:28 +03:00
Inex Code 4a17a1e479 Hotfix pleroma config 2021-11-18 21:19:26 +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