S3 Garage: cluster setup

This commit is contained in:
Filippo Berto 2023-04-10 22:19:55 +02:00
parent 95911b5e64
commit 9de02ed2a5
No known key found for this signature in database
GPG key ID: FE98AE5EC52B1056
3 changed files with 27 additions and 22 deletions

View file

@ -0,0 +1,19 @@
{ config, ... }: {
services.nextcloud = {
enable = true;
hostName = "freya.local";
config.adminpassFile = config.age.secrets.nextcloud_admin_secret.path;
config.objectstore.s3 = {
enable = true;
bucket = "nextcloud-bucket";
autocreate = false;
key = "GK42a6b774429bfc254f4a5d36";
secretFile = config.age.secrets.nextcloud_bucket_secret.path;
hostname = "localhost";
port = 3900;
useSsl = false;
region = "garage";
usePathStyle = true;
};
};
}