Nextcloud: Difference between revisions
added link and explanation for two-factor authentication |
m Update NextCloud Objectstore Attribute Name |
||
| Line 127: | Line 127: | ||
In this example we'll configure a local S3-compatible object store using Minio and connect it to Nextcloud | In this example we'll configure a local S3-compatible object store using Minio and connect it to Nextcloud | ||
{{file| | {{file|||<nowiki> | ||
{ ... } let | { ... } let | ||
| Line 144: | Line 144: | ||
enable = true; | enable = true; | ||
bucket = "nextcloud"; | bucket = "nextcloud"; | ||
verify_bucket_exists = true; | |||
key = accessKey; | key = accessKey; | ||
secretFile = "${pkgs.writeText "secret" "test12345"}"; | secretFile = "${pkgs.writeText "secret" "test12345"}"; | ||
| Line 165: | Line 165: | ||
}; | }; | ||
</nowiki>}} | </nowiki>|name=/etc/nixos/configuration.nix|lang=nix}} | ||
We'll need to run two commands to create the bucket <code>nextcloud</code> by using the access key <code>nextcloud</code> and the secret key <code>test12345</code>. | We'll need to run two commands to create the bucket <code>nextcloud</code> by using the access key <code>nextcloud</code> and the secret key <code>test12345</code>. | ||