summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--system/prefect.nix29
1 files changed, 20 insertions, 9 deletions
diff --git a/system/prefect.nix b/system/prefect.nix
index ba3bc144..510f88f3 100644
--- a/system/prefect.nix
+++ b/system/prefect.nix
@@ -50,15 +50,26 @@
     zenpower
   ];
 
-  fileSystems."/data" = {
-    label = "Data";
-    fsType = "ntfs";
-    options = ["rw" "uid=1000" "noauto" "x-systemd.automount"];
-  };
-  fileSystems."/windows" = {
-   label = "Windows";
-   fsType = "ntfs";
-   options = ["rw" "uid=1000" "noauto" "x-systemd.automount"];
+  fileSystems = {
+    "/".options = [ "atgc" "gc_merge" "lazytime" ];
+    "/home" = "/dev/disk/by-partlabel/home";
+    "/mnt/data" = {
+      device = "/dev/disk/by-uuid/52E422C5E422AAE5";
+      fsType = "ntfs3";
+      options = [ "uid=1000" "gid=100" "noauto" "x-systemd-automount" ];
+    };
+
+    "/mnt/games" = {
+      device = "/dev/disk/by-partlabel/games";
+      fsType = "ntfs3";
+      options = [ "uid=1000" "gid=100" "noauto" "x-systemd-automount" ];
+    };
+
+    "/mnt/windows" = {
+      device = "/dev/disk/by-partlabel/windows";
+      fsType = "ntfs3";
+      options = [ "nofail" ];
+    };
   };
 
   services.xserver = {