mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-10 05:12:56 +00:00
move nextcloud data directory
This commit is contained in:
parent
fb47302f3b
commit
366a7f6157
@ -15,6 +15,7 @@
|
|||||||
services.nextcloud = {
|
services.nextcloud = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.nextcloud25; # Required to specify
|
package = pkgs.nextcloud25; # Required to specify
|
||||||
|
datadir = "/data/nextcloud";
|
||||||
https = true;
|
https = true;
|
||||||
hostName = "localhost";
|
hostName = "localhost";
|
||||||
maxUploadSize = "50G";
|
maxUploadSize = "50G";
|
||||||
@ -52,6 +53,9 @@
|
|||||||
before = [ "nextcloud-setup.service" ];
|
before = [ "nextcloud-setup.service" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Grant user access to Nextcloud directories
|
||||||
|
users.users.${config.user}.extraGroups = [ "nextcloud" ];
|
||||||
|
|
||||||
## Backup config
|
## Backup config
|
||||||
|
|
||||||
# Open to groups, allowing for backups
|
# Open to groups, allowing for backups
|
||||||
|
Loading…
Reference in New Issue
Block a user