diff options
author | sefidel <contact@sefidel.net> | 2023-04-11 17:31:41 +0900 |
---|---|---|
committer | sefidel <contact@sefidel.net> | 2023-04-11 17:31:41 +0900 |
commit | ccc9f8f671830cca00feed8b9a8e3b30967f4501 (patch) | |
tree | e3edb4c20687127ec6a9fc68c927596336d1baa8 /modules/services | |
parent | 522600f3f8e2dcb51397d9cefbf0fada25d9385e (diff) | |
download | infra-ccc9f8f671830cca00feed8b9a8e3b30967f4501.tar.gz infra-ccc9f8f671830cca00feed8b9a8e3b30967f4501.zip |
feat(services/akkoma): prepare for multiuser
Diffstat (limited to 'modules/services')
-rw-r--r-- | modules/services/akkoma/default.nix | 4 | ||||
-rw-r--r-- | modules/services/akkoma/terms-of-service.html | 4 |
2 files changed, 6 insertions, 2 deletions
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 @@ <head></head> <body> <h2>Terms of Service</h2> - <p>This is a personal instance with only one user. Therefore, I'll write rules that I'll abide:</p> + <p>This is a private instance with only me and my friends. Here's the rules:</p> <ol> <li> <p>No discrimination based on race, gender, sexual orientation, disabilities, or any other characteristic.</p> @@ -21,6 +21,6 @@ <p>Use content warnings for explicit or controversial content.</p> </li> </ol> - <p>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!</p> + <p>Any account that doesn't abide by the rules specified above will be terminated without prior notice.</p> </body> </html> |