Fixed up NextCloud, finally setup
This commit is contained in:
parent
44df454f96
commit
ecec7a0ff0
5 changed files with 16 additions and 9 deletions
|
@ -33,4 +33,4 @@
|
|||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -8,4 +8,4 @@ rotate 4
|
|||
rotate 8
|
||||
nocompress
|
||||
su root root
|
||||
}
|
||||
}
|
|
@ -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 {
|
||||
|
|
2
readme
2
readme
|
@ -1,3 +1,3 @@
|
|||
# My .dotfiles
|
||||
|
||||
Separated by branch
|
||||
Separated by branch
|
||||
|
|
Loading…
Add table
Reference in a new issue