fiddeling with nextcloud
This commit is contained in:
parent
71dcb6ee5c
commit
734d50435e
1 changed files with 11 additions and 1 deletions
|
@ -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 = [
|
||||
|
|
Loading…
Reference in a new issue