nixos/nextcloud: Make `objectstore.s3.useSsl` explicitly true by default

This appears to match the nextcloud default behaviour observed here:

e2116e2fb2/lib/private/Files/ObjectStore/S3ConnectionTrait.php (L83)
main
mitchmindtree 3 years ago
parent b23d6a4113
commit fbffaddefe
  1. 6
      nixos/modules/services/web-apps/nextcloud.nix

@ -368,8 +368,8 @@ in {
'';
};
useSsl = mkOption {
type = types.nullOr types.bool;
default = null;
type = types.bool;
default = true;
description = ''
Use SSL for objectstore access.
'';
@ -573,7 +573,7 @@ in {
'secret' => nix_read_secret('${s3.secretFile}'),
${optionalString (s3.hostname != null) "'hostname' => '${s3.hostname}',"}
${optionalString (s3.port != null) "'port' => ${toString s3.port},"}
${optionalString (s3.useSsl != null) "'use_ssl' => ${boolToString s3.useSsl},"}
'use_ssl' => ${boolToString s3.useSsl},
${optionalString (s3.region != null) "'region' => '${s3.region}',"}
'use_path_style' => ${boolToString s3.usePathStyle},
],

Loading…
Cancel
Save