fiddeling with nextcloud

This commit is contained in:
Ingolf Wagner 2024-06-10 17:45:47 +02:00
parent 71dcb6ee5c
commit 734d50435e
Signed by: palo
GPG key ID: 76BF5F1928B9618B

View file

@ -6,8 +6,9 @@
# https://docs.nextcloud.com/server/stable/admin_manual/maintenance/upgrade.html
let
# todo : let nextcloud run as media, this would make this part easier.
nextcloudUid = 1000;
nextcloudGid = 1000;
nextcloudGid = config.ids.gids.transmission;
nextcloudPort = 9080;
nextcloudHostName = "nextcloud.ingolf-wagner.de";
@ -72,6 +73,11 @@ in
mountPoint = "/run/secrets/nextcloud.database.input";
isReadOnly = true;
};
share = {
hostPath = config.services.syncthing.settings.folders.share.path;
mountPoint = "/media/share";
isReadOnly = true;
};
};
privateNetwork = false;
@ -103,6 +109,10 @@ in
};
users.users.nextcloud.uid = nextcloudUid;
users.groups.nextcloud = {
gid = nextcloudGid;
members = [ "nextcloud" ];
};
services.nginx = {
defaultListen = [