From 354af91cdaded78f89d1879f229ff1fee4e96869 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Wed, 5 Jan 2022 14:12:30 -0500 Subject: Small infra updates - notes about dovecot and ssl certs - disable matrix because its not setup properly and i don't use it - format some stuff - fix path to git repos --- Biz/Cloud/Chat.nix | 2 +- Biz/Cloud/Mail.nix | 10 ++++++++++ Biz/Cloud/Web.nix | 2 +- 3 files changed, 12 insertions(+), 2 deletions(-) (limited to 'Biz/Cloud') 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 '') ]; }; -- cgit v1.2.3