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