Commit graph

141 commits

Author SHA1 Message Date
Alexander Tomokhov 72d73b6297 autoUpgrade.enable = false by default 2023-11-18 05:40:57 +04:00
Alexander Tomokhov 0f54898cb8 sp-modules: fix nextcloud secrets json path 2023-11-18 05:40:02 +04:00
Alexander Tomokhov d5b04699c1 sp-module: refactor simple-nixos-mailserver flake 2023-11-16 06:36:39 +04:00
Alexander Tomokhov d69a8cd662 migrate selfprivacy-api NixOS module to selfprivacy API repository
But do not treat it as a SP module.
2023-11-16 06:36:39 +04:00
Alexander Tomokhov 80447abb2e selfprivacy.userdata -> selfprivacy; SP modules -> selfprivacy.modules 2023-11-16 04:00:15 +04:00
Alexander Tomokhov f4fb0a9ce8 move nextcloud nginx configuration part to SP module 2023-11-15 23:43:59 +04:00
Alexander Tomokhov 41c3a0fc00 add PoC SP module for nextcloud 2023-11-15 22:36:19 +04:00
Alexander Tomokhov d281f51775 TODO notes: flake: config contrain algorithm 2023-11-15 20:18:49 +04:00
Alexander Tomokhov b0bb84138b delete garbage sp-modules-options.json file 2023-11-15 20:12:33 +04:00
Alexander Tomokhov 4419a1323a fix config attributes contrain mechanism for SP modules
Now it should work for all nested imports too. `imports` are traversed
recursively to redefine each imported module function with altered one,
constraining its config attribute (respecting config-paths-needed.json).
2023-11-15 04:31:20 +04:00
Alexander Tomokhov 26b3071929 system.configurationRevision = self.rev or "@${self.lastModifiedDate}" 2023-11-14 06:22:39 +04:00
Alexander Tomokhov f33fb9e9bf just-nixos => sp-nixos; selfprivacy/current-config-source; add formatter 2023-11-14 02:47:08 +04:00
Alexander Tomokhov e656719ebd remove userdata folder 2023-11-13 19:53:15 +04:00
Alexander Tomokhov f440006806 remove erroneous system attribute from nixosConfigurations 2023-11-13 19:52:34 +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
Alexander Tomokhov d9e2311f3c system.configurationRevision = self.rev; 2023-11-12 01:39:52 +04:00
Alexander Tomokhov 6c849e2628 embed top-level flake source folder into the build 2023-11-10 07:05:38 +04:00
Alexander Tomokhov 7378329891 pass top-level-flake to set system.configurationRevision 2023-11-10 06:53:21 +04:00
Alexander Tomokhov b4b37f42f2 get rid of overlay for selfprivacy-graphql-api 2023-11-06 13:04:03 +04:00
Alexander Tomokhov 7cee132d8e nixosConfiguration-fun takes a set as an argument
This set must contain:
- hardware-configuration
- userdata (parsed)
2023-11-06 12:50:46 +04:00
Alexander Tomokhov 4afa777e7c Revert "add hardware-configuration.nix for testing purposes"
This reverts commit 659ca147fd.
2023-11-06 11:24:38 +04:00
Alexander Tomokhov 57412e328d .gitignore: /result 2023-11-06 11:11:34 +04:00
Alexander Tomokhov a822f97699 pin dependencies in flake 2023-07-17 05:05:29 +04:00
Alexander Tomokhov 82dd9ad2d4 now it's a function, requiring userdata argument 2023-07-17 04:37:04 +04:00
Alexander Tomokhov d4af9f4459 attempt to readFile userdsata.json 2023-07-17 04:19:57 +04:00
Alexander Tomokhov ee2a895c61 test 2023-07-17 04:15:03 +04:00
Alexander Tomokhov 659ca147fd add hardware-configuration.nix for testing purposes 2023-07-15 16:52:30 +04:00
Inex Code 65b5a19777 Merge pull request 'fix: Reloading nginx after ACME' (#34) from nginx-reload-fix into master
Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nixos-config/pulls/34
2023-06-14 19:19:56 +03:00
Inex Code 60dd766846 fix: Reloading nginx after ACME 2023-06-14 19:19:49 +03:00
Inex Code 8006f83257 Merge pull request 'refactor(jitsi): Use the common TLS cert for Jitsi' (#33) from jitsi-tls-fix into master
Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nixos-config/pulls/33
2023-06-09 16:01:09 +03:00
Inex Code 74d35b16f2 fix(jitsi): disable gettings tls certs 2023-06-09 15:59:15 +03:00
Inex Code dd020c3a7d fix(acme): Disable DNS propagation check 2023-06-09 15:57:19 +03:00
Inex Code ba1695c642 fix(jitsi): Use the common TLS cert 2023-06-09 14:06:22 +03: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 8d99d1c78a fix: Make bitwarden read the env file 2023-05-14 17:22:09 +03:00
Inex Code 5e64b08381 feat(bitwarden): Add admin token support 2023-05-03 10:48:57 +03:00
Inex Code 7e590ae60c revert(gitea): Nix deprecations x2 2023-03-20 18:39:41 +03:00
Inex Code eb36e9b265 revert(gitea): Nix deprecations 2023-03-20 18:36:32 +03:00
Inex Code 3626506e3a fix: Conflicting Gitea log level 2023-03-20 18:31:39 +03:00
Inex Code c8c69957b5 Merge pull request 'nixos-22.11' (#25) from nixos-22.11 into master
Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nixos-config/pulls/25
2023-03-20 17:23:02 +02:00
Inex Code 9a8af62e0b fix: State Version type 2023-03-17 15:10:47 +03:00
Inex Code a5b965f08f fix(api): Python version 2023-03-17 15:09:13 +03:00
Inex Code d7edf5a95d chore(mailserver): Bump Mailserver to 22.11 release 2023-03-17 15:05:21 +03:00
Inex Code bdaf88208f fix: Huey version 2023-03-17 14:54:14 +03:00
Inex Code 2e175f8c10 feat: Add state version 2023-03-17 14:50:54 +03:00
Inex Code 497cf28ecc fix: Change Gitea settings due to Nix deprecations 2023-03-17 14:50:40 +03:00
Inex Code 9c662d9629 chore: Change channel of overlay for testing 2023-03-17 14:38:48 +03:00
Inex Code 0500315ae0 chore(nextcloud): Upgrade Nextcloud to v25 2023-03-17 14:38:11 +03:00
Inex Code d8f0922b8a fix(gitea): incorrect root URL 2023-01-08 10:29:08 +02:00
Inex Code ab0c3e113c Merge pull request 'API 2.1.0 support' (#24) from api-redis into master
Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nixos-config/pulls/24
2022-12-30 20:35:45 +02:00