diff --git a/hosts/hetzner-arm/profiles/gotosocial.nix b/hosts/hetzner-arm/profiles/gotosocial.nix index 910e723..849255a 100644 --- a/hosts/hetzner-arm/profiles/gotosocial.nix +++ b/hosts/hetzner-arm/profiles/gotosocial.nix @@ -1,10 +1,7 @@ -{config, ...}: let - inherit (config.services.secrets) secrets; -in { +{...}: { services.gotosocial = { enable = true; setupPostgresqlDB = false; - environmentFile = secrets.gotosocial_env.path; settings = { application-name = "chaos-gts"; @@ -27,12 +24,6 @@ in { 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"]; media-image-max-size = "64MB"; diff --git a/hosts/hetzner-arm/secrets.nix b/hosts/hetzner-arm/secrets.nix index b3f3f55..3b115ee 100644 --- a/hosts/hetzner-arm/secrets.nix +++ b/hosts/hetzner-arm/secrets.nix @@ -19,7 +19,6 @@ "api-keys/data/backblaze/Backblaze" "private-public-keys/data/restic/Social-02" - "api-keys/data/chaos_mail/gotosocial" "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 = { fetchScript = '' simple_get "/private-public-keys/restic/Forgejo" .password > "$secretFile"