Fixed up NextCloud, finally setup
This commit is contained in:
parent
44df454f96
commit
ecec7a0ff0
5 changed files with 16 additions and 9 deletions
|
@ -4,10 +4,18 @@
|
|||
|
||||
programs.fuse.userAllowOther = true;
|
||||
|
||||
fileSystems."/pool" = {
|
||||
fsType = "fuse.mergerfs";
|
||||
device = "/mnt/data*";
|
||||
options = ["direct_io" "defaults" "allow_other" "minfreespace=50G" "fsname=mergerfs" "category.create=mfs" "nonempty"];
|
||||
fileSystems = {
|
||||
"/pool" = {
|
||||
fsType = "fuse.mergerfs";
|
||||
device = "/mnt/data*";
|
||||
options = ["direct_io" "defaults" "allow_other" "minfreespace=50G" "fsname=mergerfs" "category.create=mfs" "nonempty"];
|
||||
};
|
||||
|
||||
"/var/lib/nextcloud" = {
|
||||
fsType = "none";
|
||||
device = "/pool/NextCloud";
|
||||
options = ["bind" "nofail"];
|
||||
};
|
||||
};
|
||||
|
||||
# Set your system kind (needed for flakes)
|
||||
|
|
|
@ -25,8 +25,7 @@
|
|||
extraAppsEnable = true;
|
||||
extraApps = with config.services.nextcloud.package.packages.apps; {
|
||||
# https://github.com/NixOS/nixpkgs/blob/master/pkgs/servers/nextcloud/packages/nextcloud-apps.json
|
||||
inherit calendar contacts mail notes tasks;
|
||||
# inherit calendar contacts mail notes onlyoffice tasks;
|
||||
inherit calendar contacts mail notes tasks registration spreed;
|
||||
|
||||
# Custom app installation example.
|
||||
# cookbook = pkgs.fetchNextcloudApp rec {
|
||||
|
|
Loading…
Add table
Reference in a new issue