summaryrefslogtreecommitdiff
path: root/Biz/Cloud
diff options
context:
space:
mode:
Diffstat (limited to 'Biz/Cloud')
-rw-r--r--Biz/Cloud/Chat.nix2
-rw-r--r--Biz/Cloud/Mail.nix10
-rw-r--r--Biz/Cloud/Web.nix2
3 files changed, 12 insertions, 2 deletions
diff --git a/Biz/Cloud/Chat.nix b/Biz/Cloud/Chat.nix
index 6f8ac3a..0c29f3f 100644
--- a/Biz/Cloud/Chat.nix
+++ b/Biz/Cloud/Chat.nix
@@ -21,7 +21,7 @@ in {
# https://nixos.org/nixos/manual/index.html#module-services-matrix
#
services.matrix-synapse = {
- enable = true;
+ enable = false;
server_name = config.networking.domain;
registration_shared_secret = "AkGRWSQLga3RoKRFnHhKoeCEIeZzu31y4TRzMRkMyRbBnETkVTSxilf24qySLzQn";
listeners = [
diff --git a/Biz/Cloud/Mail.nix b/Biz/Cloud/Mail.nix
index ecb64ff..4ff3fd6 100644
--- a/Biz/Cloud/Mail.nix
+++ b/Biz/Cloud/Mail.nix
@@ -1,5 +1,15 @@
{ ... }:
+/*
+
+Known issues:
+
+- when the acme cert gets refreshed, you need to manually restart dovecot
+- when restarting dovecot, it might hang, in that case do:
+ systemctl --job-mode=ignore-dependencies restart dovecot2 postfix
+
+*/
+
{
mailserver = {
enable = true;
diff --git a/Biz/Cloud/Web.nix b/Biz/Cloud/Web.nix
index 5d951e8..08e2267 100644
--- a/Biz/Cloud/Web.nix
+++ b/Biz/Cloud/Web.nix
@@ -99,7 +99,7 @@ in
# these depend on order, scan-path must come last
(builtins.toFile "cgitrc" ''
strict-export=git-daemon-export-ok
- scan-path=/srv/git/repositories
+ scan-path=/var/git/repositories
'')
];
};