commit b5c26c9c9ead7e70161755f543f6ee557b6f3ffd parent 85d37b39f1259949e6777c03c10a1984606d73c9 Author: MTRNord <mtrnord1@gmail.com> Date: Fri, 1 Sep 2023 17:23:22 +0200 try to reset discourse Diffstat:
| M | nixos/worker-1/configuration.nix | | | 88 | ++++++++++++++++++++++++++++++++++++++++---------------------------------------- |
1 file changed, 44 insertions(+), 44 deletions(-)
diff --git a/nixos/worker-1/configuration.nix b/nixos/worker-1/configuration.nix @@ -528,50 +528,50 @@ group = "discourse"; }; services = { - # discourse = { - # enable = false; - # database = { - # host = "postgres.internal.midnightthoughts.space"; - # passwordFile = config.sops.secrets."discourse/db_password".path; - # }; - # backendSettings = { - # db_port = 5000; - # }; - # secretKeyBaseFile = config.sops.secrets."discourse/secret_key_base".path; - # mail = { - # outgoing = { - # port = 465; - # serverAddress = "mail.nordgedanken.dev"; - # username = "support@miki.community"; - # passwordFile = config.sops.secrets."discourse/mail_password".path; - # authentication = "login"; - # }; - # incoming.enable = false; - # contactEmailAddress = "support@miki.community"; - # }; - # redis = { - # host = "localhost"; - # }; - # hostname = "forum.miki.community"; - # plugins = with config.services.discourse.package.plugins; [ - # discourse-github - # discourse-solved - # discourse-docs - # ]; - # siteSettings = { - # required = { - # title = "Matrix Projects Forum"; - # contact_email = "support@miki.community"; - # notification_email = "noreply@forum.miki.community"; - # }; - # }; - # admin = { - # username = "MTRNord"; - # fullName = "Marcel"; - # email = "mtrnord@nordgedanken.dev"; - # passwordFile = config.sops.secrets."discourse/admin_password".path; - # }; - # }; + discourse = { + enable = false; + database = { + host = "postgres.internal.midnightthoughts.space"; + passwordFile = config.sops.secrets."discourse/db_password".path; + }; + backendSettings = { + db_port = 5000; + }; + secretKeyBaseFile = config.sops.secrets."discourse/secret_key_base".path; + mail = { + outgoing = { + port = 465; + serverAddress = "mail.nordgedanken.dev"; + username = "support@miki.community"; + passwordFile = config.sops.secrets."discourse/mail_password".path; + authentication = "login"; + }; + incoming.enable = false; + contactEmailAddress = "support@miki.community"; + }; + redis = { + host = "localhost"; + }; + hostname = "forum.miki.community"; + plugins = with config.services.discourse.package.plugins; [ + discourse-github + discourse-solved + discourse-docs + ]; + siteSettings = { + required = { + title = "Matrix Projects Forum"; + contact_email = "support@miki.community"; + notification_email = "noreply@forum.miki.community"; + }; + }; + admin = { + username = "MTRNord"; + fullName = "Marcel"; + email = "mtrnord@nordgedanken.dev"; + passwordFile = config.sops.secrets."discourse/admin_password".path; + }; + }; tailscale = { enable = true; useRoutingFeatures = "both";