From 947a6bb970c84ee1b6b497398fd6efde3173e7be Mon Sep 17 00:00:00 2001 From: wo2wz <189177184+wo2wz@users.noreply.github.com> Date: Mon, 24 Nov 2025 18:02:34 -0500 Subject: [PATCH] drone: add nofail option to external mounts --- hosts/Drone/default.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/hosts/Drone/default.nix b/hosts/Drone/default.nix index c6c2f1a..3c826ac 100755 --- a/hosts/Drone/default.nix +++ b/hosts/Drone/default.nix @@ -41,16 +41,19 @@ "/mnt/external" = { device = "zpool-mirror"; fsType = "zfs"; + options = [ "nofail" ]; }; "/mnt/external/backup" = { device = "zpool-mirror/backup"; fsType = "zfs"; + options = [ "nofail" ]; }; "/mnt/external/storage" = { device = "zpool-mirror/storage"; fsType = "zfs"; + options = [ "nofail" ]; }; # bind mounts for file storage dirs on nextcloud from external storage @@ -58,21 +61,20 @@ depends = [ "/mnt/external/storage" ]; device = "/mnt/external/storage/nextcloud/data/534abfe6ec19b02ab61e1196758f7a971e75f07077a431ea15157d8e10910fc5/files"; fsType = "none"; - options = [ "bind" ]; + options = [ "bind" "nofail" ]; }; "/var/lib/nextcloud/data/534abfe6ec19b02ab61e1196758f7a971e75f07077a431ea15157d8e10910fc5/files_versions" = { depends = [ "/mnt/external/storage" ]; device = "/mnt/external/storage/nextcloud/data/534abfe6ec19b02ab61e1196758f7a971e75f07077a431ea15157d8e10910fc5/files_versions"; fsType = "none"; - options = [ "bind" ]; + options = [ "bind" "nofail" ]; }; "/var/lib/nextcloud/data/534abfe6ec19b02ab61e1196758f7a971e75f07077a431ea15157d8e10910fc5/files_trashbin" = { depends = [ "/mnt/external/storage" ]; device = "/mnt/external/storage/nextcloud/data/534abfe6ec19b02ab61e1196758f7a971e75f07077a431ea15157d8e10910fc5/files_versions"; fsType = "none"; - options = [ "bind" ]; + options = [ "bind" "nofail" ]; }; - }; services.zfs.autoScrub.enable = true;