Skip to content

Commit 72668c1

Browse files
author
Dr Serge
committed
nextcloud: direct pre-signed download link.
1 parent 3094514 commit 72668c1

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

nixos/modules/services/web-apps/nextcloud.nix

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1324,6 +1324,14 @@ in
13241324
Use `services.nextcloud.secrets.mail_smtppassword` instead and set it to a file containing the password.
13251325
'';
13261326
}
1327+
{
1328+
assertion =
1329+
lib.versionAtLeast cfg.package.version "33.0.0"
1330+
|| cfg.config.objectstore.s3.use_presigned_url != null;
1331+
message = ''
1332+
Presigned URLs are only available on Nextcloud >= 33.0.0.
1333+
'';
1334+
}
13271335
];
13281336
}
13291337

0 commit comments

Comments
 (0)