Fixed up NextCloud, finally setup

This commit is contained in:
Chris Toph 2024-09-17 21:34:11 -04:00
parent 44df454f96
commit ecec7a0ff0
5 changed files with 16 additions and 9 deletions

View file

@ -33,4 +33,4 @@
};
};
};
}
}

View file

@ -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)

View file

@ -8,4 +8,4 @@ rotate 4
rotate 8
nocompress
su root root
}
}

View file

@ -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
View file

@ -1,3 +1,3 @@
# My .dotfiles
Separated by branch
Separated by branch