summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2022-06-20 16:25:29 +0200
committerAlan Pearce2022-06-23 22:38:23 +0200
commit98118dee608e25c8096d6c3ed79a62bed285f3a6 (patch)
tree4cd137ad397d4483821329ff1e2f32192da11abc
parenta7c1510db4e6b8876eae2714cc541b4adb0fb8f9 (diff)
downloadnixfiles-98118dee608e25c8096d6c3ed79a62bed285f3a6.tar.lz
nixfiles-98118dee608e25c8096d6c3ed79a62bed285f3a6.tar.zst
nixfiles-98118dee608e25c8096d6c3ed79a62bed285f3a6.zip
prefect: don't abort startup when secondary mounts fail
-rw-r--r--system/prefect.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/system/prefect.nix b/system/prefect.nix
index 059eff0c..4d62f94d 100644
--- a/system/prefect.nix
+++ b/system/prefect.nix
@@ -60,19 +60,19 @@
     "/mnt/data" = {
       device = "/dev/disk/by-uuid/52E422C5E422AAE5";
       fsType = "ntfs3";
-      options = [ "uid=1000" "gid=100" "x-systemd-automount" ];
+      options = [ "uid=1000" "gid=100" "x-systemd-automount" "nofail" ];
     };
 
     "/mnt/games" = {
       device = "/dev/disk/by-partlabel/games";
       fsType = "ntfs3";
-      options = [ "uid=1000" "gid=100" "x-systemd-automount" ];
+      options = [ "uid=1000" "gid=100" "x-systemd-automount" "nofail" ];
     };
 
     "/mnt/windows" = {
       device = "/dev/disk/by-partlabel/windows";
       fsType = "ntfs3";
-      options = [ "nofail" ];
+      options = [ "x-systemd-automount" "nofail" ];
     };
   };