diff --git a/flake.nix b/flake.nix index b2d7777..75b2e9f 100644 --- a/flake.nix +++ b/flake.nix @@ -33,4 +33,4 @@ }; }; }; -} \ No newline at end of file +} diff --git a/nixos/hardware-configuration.nix b/nixos/hardware-configuration.nix index 3dd08ce..9c96edf 100644 --- a/nixos/hardware-configuration.nix +++ b/nixos/hardware-configuration.nix @@ -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) diff --git a/nixos/modules/logrotate/logrotate.conf b/nixos/modules/logrotate/logrotate.conf index e155e11..b244a89 100644 --- a/nixos/modules/logrotate/logrotate.conf +++ b/nixos/modules/logrotate/logrotate.conf @@ -8,4 +8,4 @@ rotate 4 rotate 8 nocompress su root root -} +} \ No newline at end of file diff --git a/nixos/modules/nextcloud/default.nix b/nixos/modules/nextcloud/default.nix index 6e621e0..2249ec9 100644 --- a/nixos/modules/nextcloud/default.nix +++ b/nixos/modules/nextcloud/default.nix @@ -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 { diff --git a/readme b/readme index 7488679..42e6277 100644 --- a/readme +++ b/readme @@ -1,3 +1,3 @@ # My .dotfiles -Separated by branch \ No newline at end of file +Separated by branch