19 lines
527 B
Nix
19 lines
527 B
Nix
{ 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;
|
|
};
|
|
};
|
|
}
|