Commit Graph

47 Commits (flakes)

Author SHA1 Message Date
Alexander ad43d31c0c modules: parameterize all subdomains 2024-02-20 14:42:37 +04:00
Inex Code f103f708da fix(bitwarden): Webauthn login didn't work 2024-02-19 15:23:25 +03:00
Alexander 1a677f273b fix nextcloud auth page redirection 2024-01-10 01:49:51 +04:00
Alexander 15f5d6096d sp-modules: refactor options types 2023-12-28 13:19:47 +04:00
Alexander fe44ba6fd8 fix nextcloud: fail if secrets are missing 2023-12-27 15:05:23 +04:00
Alexander e6496b95a4 useACMEHost for all services 2023-12-22 21:18:05 +04:00
Alexander 19f30daf80 sp-modules: x-systemd.before=... for all mountpoints 2023-12-22 18:07:14 +04:00
Alexander 64fc2ae57e mailserver: localDnsResolver = false 2023-12-21 15:13:21 +04:00
Alexander dcaf96c773 Revert "Revert "Revert "add wildcard ACME certificate"""
This reverts commit 4faf8e7dda.
2023-12-20 17:43:47 +04:00
Alexander 4faf8e7dda Revert "Revert "add wildcard ACME certificate""
This reverts commit 0c4d57c33d.
2023-12-20 16:59:57 +04:00
Alexander c18f332f5f Revert "use enableACME for all virtualHosts"
This reverts commit 46366702bc.
2023-12-19 23:46:42 +04:00
Alexander 46366702bc use enableACME for all virtualHosts 2023-12-19 17:22:32 +04:00
Alexander 0c4d57c33d Revert "add wildcard ACME certificate"
This reverts commit b37cadff68
(except pleroma virtualHosts).
2023-12-19 17:22:32 +04:00
Alexander 426e6f72c5 gitea: bind mount /var/lib/gitea 2023-12-19 17:22:32 +04:00
Alexander b37cadff68 add wildcard ACME certificate 2023-12-19 01:52:27 +04:00
Alexander 69f84cdc2b bitwarden: "ConditionPathExists" instead of "after" 2023-12-19 01:19:03 +04:00
Alexander 0ad2ffc30e api module: avoid simultaneous runs 2023-12-19 00:20:18 +04:00
Alexander 83a17063ac explicit dependency between backup-vaultwarden and vaultwarden 2023-12-18 23:40:15 +04:00
Alexander 257b0c08e8 sp-modules: some startup fixes 2023-12-18 22:42:13 +04:00
Alexander 365f027326 move nginx exclusive virtualHosts to SP modules 2023-12-18 19:02:54 +04:00
Alexander d881cc8ce5 upgrade nixpkgs to NixOS 23.11 2023-12-18 18:44:18 +04:00
Alexander b7045a8198 upgrade nixpkgs to NixOS 23.05 2023-12-18 17:56:15 +04:00
Alexander 67c2b12c44 sp-modules: get rid of systemd.tmpfiles
Because it causes troubles when using bind-mounts for /var/lib/*.
2023-12-18 16:30:40 +04:00
Alexander 7f6c48f978 gitea: RequiresMountsFor and ConditionPathIsMountPoint @ /var/lib/gitea 2023-12-12 20:50:09 +04:00
Alexander defaca8793 clean configuration; simple-nixos-mailserver is an ordinary SP module 2023-12-12 08:25:10 +04:00
Alexander 6cd002ae1d remove restic SP module 2023-12-05 01:56:13 +04:00
Alexander c052f9172a move gitea to SP module 2023-12-04 15:59:22 +04:00
Alexander 054d6d9182 move jitsi-meet to SP module 2023-12-04 15:50:00 +04:00
Alexander Tomokhov c0aa73ca1b move bitwarden to SP module 2023-12-04 14:33:43 +04:00
Alexander Tomokhov ade4dc08b1 sp-modules: use jq exit status code 2023-12-03 10:37:37 +04:00
Alexander Tomokhov 4716b9bf19 move restic to SP module 2023-12-03 10:05:51 +04:00
Alexander Tomokhov c7419b3255 move pleroma to SP module 2023-12-03 09:46:36 +04:00
Alexander Tomokhov b458458c30 move ocserv to SP module 2023-12-03 09:46:36 +04:00
Alexander Tomokhov 600d8f427d mailserver: set users.groups.acmereceivers.members 2023-11-29 08:28:19 +04:00
Alexander Tomokhov 1a5a4be306 nextcloud: fix secrets extraction 2023-11-29 08:19:04 +04:00
Alexander Tomokhov 364a5c8076 mailserver: adapt to deprecated and new types of certificateScheme 2023-11-26 09:39:47 +04:00
Alexander Tomokhov a224731dcf nextcloud: write passwords using `install` 2023-11-26 09:39:47 +04:00
Alexander Tomokhov 0db1c4a6ce downgrade simple-nixos-mailserver to 6d0d9fb9 2023-11-26 04:28:36 +04:00
Alexander Tomokhov a98dafc98c fix nextcloud (case when enabled)
Previously, second mkIf for cleanup case took precedence when merge with
`//`. Now it's 2 modules: one for selfprivacy.modules.nextcloud.enable
== true, another for selfprivacy.modules.nextcloud.enable == false.
2023-11-26 03:11:29 +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 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 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 80ba7d0bda PoC working SP module system
+ simple-nixos-mailserver as an SP module
2023-11-13 00:37:50 +04:00