S3 Garage: cluster setup
This commit is contained in:
parent
95911b5e64
commit
9de02ed2a5
3 changed files with 27 additions and 22 deletions
19
nixos_modules/nextcloud.nix
Normal file
19
nixos_modules/nextcloud.nix
Normal 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;
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue