gotosocial remove email

This commit is contained in:
chaos 2024-12-20 15:06:14 +00:00
parent ad8822300f
commit d9f567922b
2 changed files with 1 additions and 18 deletions

View file

@ -1,10 +1,7 @@
{config, ...}: let {...}: {
inherit (config.services.secrets) secrets;
in {
services.gotosocial = { services.gotosocial = {
enable = true; enable = true;
setupPostgresqlDB = false; setupPostgresqlDB = false;
environmentFile = secrets.gotosocial_env.path;
settings = { settings = {
application-name = "chaos-gts"; application-name = "chaos-gts";
@ -27,12 +24,6 @@ in {
accounts-registration-open = false; accounts-registration-open = false;
smtp-host = "mail.owo.monster";
smtp-port = 587;
smtp-from = "gotosocial@owo.monster";
smtp-username = "gotosocial@owo.monster";
smtp-password = ""; # set via env variables
instance-languages = ["en" "de"]; instance-languages = ["en" "de"];
media-image-max-size = "64MB"; media-image-max-size = "64MB";

View file

@ -19,7 +19,6 @@
"api-keys/data/backblaze/Backblaze" "api-keys/data/backblaze/Backblaze"
"private-public-keys/data/restic/Social-02" "private-public-keys/data/restic/Social-02"
"api-keys/data/chaos_mail/gotosocial"
"private-public-keys/data/restic/Forgejo" "private-public-keys/data/restic/Forgejo"
@ -115,13 +114,6 @@
''; '';
}; };
gotosocial_env = {
fetchScript = ''
smtp_password=$(simple_get "/api-keys/chaos_mail/gotosocial" .password)
echo "GTS_SMTP_PASSWORD=$smtp_password" > "$secretFile"
'';
};
restic_password_forgejo = { restic_password_forgejo = {
fetchScript = '' fetchScript = ''
simple_get "/private-public-keys/restic/Forgejo" .password > "$secretFile" simple_get "/private-public-keys/restic/Forgejo" .password > "$secretFile"