services: nextcloud: ensure 'home' exists

This commit is contained in:
Bruno BELANYI 2021-02-07 20:00:20 +00:00
parent a0cdd38848
commit 8cdef69b3e

View file

@ -32,6 +32,7 @@ in
enable = true;
package = pkgs.nextcloud20; # Nextcloud 19.0.6 is marked as insecure
hostName = nextcloudDomain;
home = "/var/lib/nextcloud";
maxUploadSize = cfg.maxSize;
config = {
adminuser = cfg.admin;