diff --git a/secret/hosts/sail.nix b/secret/hosts/sail.nix index 218ea9c..2aa80f6 100644 Binary files a/secret/hosts/sail.nix and b/secret/hosts/sail.nix differ diff --git a/system/nixos/mastodon.nix b/system/nixos/mastodon.nix index e67fb74..96e8916 100644 --- a/system/nixos/mastodon.nix +++ b/system/nixos/mastodon.nix @@ -78,6 +78,16 @@ in ES_USER = secret.mastodon.elasticsearch.user; ES_PASS = secret.mastodon.elasticsearch.password; + + S3_ENABLED = true; + S3_BUCKET = secret.mastodon.s3.bucket; + AWS_ACCESS_KEY_ID = secret.mastodon.s3.accessKeyId; + AWS_SECRET_ACCESS_KEY = secret.mastodon.s3.secretAccessKey; + S3_PROTOCOL = "https"; + S3_REGION = secret.mastodon.s3.region; + S3_ENDPOINT = secret.mastodon.s3.endpoint; + S3_ALIAS_HOST = secret.mastodon.s3.hostname; + S3_HOSTNAME = secret.mastodon.s3.hostname; }; };