Fixed up NextCloud, finally setup
This commit is contained in:
parent
dd3bef33b0
commit
74fa47c867
5 changed files with 16 additions and 9 deletions
|
@ -33,4 +33,4 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,10 +4,18 @@
|
||||||
|
|
||||||
programs.fuse.userAllowOther = true;
|
programs.fuse.userAllowOther = true;
|
||||||
|
|
||||||
fileSystems."/pool" = {
|
fileSystems = {
|
||||||
fsType = "fuse.mergerfs";
|
"/pool" = {
|
||||||
device = "/mnt/data*";
|
fsType = "fuse.mergerfs";
|
||||||
options = ["direct_io" "defaults" "allow_other" "minfreespace=50G" "fsname=mergerfs" "category.create=mfs" "nonempty"];
|
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)
|
# Set your system kind (needed for flakes)
|
||||||
|
|
|
@ -8,4 +8,4 @@ rotate 4
|
||||||
rotate 8
|
rotate 8
|
||||||
nocompress
|
nocompress
|
||||||
su root root
|
su root root
|
||||||
}
|
}
|
|
@ -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 {
|
||||||
|
|
2
readme
2
readme
|
@ -1,3 +1,3 @@
|
||||||
# My .dotfiles
|
# My .dotfiles
|
||||||
|
|
||||||
Separated by branch
|
Separated by branch
|
||||||
|
|
Loading…
Add table
Reference in a new issue