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