From ccc9f8f671830cca00feed8b9a8e3b30967f4501 Mon Sep 17 00:00:00 2001 From: sefidel Date: Tue, 11 Apr 2023 17:31:41 +0900 Subject: feat(services/akkoma): prepare for multiuser --- modules/services/akkoma/default.nix | 4 ++++ modules/services/akkoma/terms-of-service.html | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'modules/services/akkoma') diff --git a/modules/services/akkoma/default.nix b/modules/services/akkoma/default.nix index a0cd42c..8cacbd3 100644 --- a/modules/services/akkoma/default.nix +++ b/modules/services/akkoma/default.nix @@ -63,6 +63,10 @@ in media_nsfw = mkMap federation-blocklist.media_nsfw; reject = mkMap federation-blocklist.reject; }; + ":pleroma"."Pleroma.Captcha" = { + enabled = true; + method = mkRaw "Pleroma.Captcha.Kocaptcha"; + }; }; nginx = { diff --git a/modules/services/akkoma/terms-of-service.html b/modules/services/akkoma/terms-of-service.html index b954760..33c7ff3 100644 --- a/modules/services/akkoma/terms-of-service.html +++ b/modules/services/akkoma/terms-of-service.html @@ -3,7 +3,7 @@

Terms of Service

-

This is a personal instance with only one user. Therefore, I'll write rules that I'll abide:

+

This is a private instance with only me and my friends. Here's the rules:

  1. No discrimination based on race, gender, sexual orientation, disabilities, or any other characteristic.

    @@ -21,6 +21,6 @@

    Use content warnings for explicit or controversial content.

-

Since I'm the only user here, I try to moderate myself best as I can. But I might sometimes fail to do so. If that ever happens, please do let me know. I'll make sure it never happens again!

+

Any account that doesn't abide by the rules specified above will be terminated without prior notice.

-- cgit 1.4.1