Commit 4d27666624ac

Vincent Demeester <vincent@sbr.pm>
2026-02-15 21:15:05
feat(okinawa): add NFS mounts from kyushu
Added NFS mounts for rhea, aion (NFSv4) and synodine (NFSv3) to match kyushu's network mount configuration. All mounts use automount with lazy loading.
1 parent 1ec2114
Changed files (1)
systems
systems/okinawa/hardware.nix
@@ -19,6 +19,7 @@
     ../common/hardware/laptop.nix
     ../common/hardware/acpid.nix
     ../common/hardware/bluetooth.nix
+    ../common/services/nfs-mounts.nix
   ];
 
   # Hybrid swap strategy for LLM workloads:
@@ -82,4 +83,64 @@
       devices = [ { device = "/dev/nvme0n1"; } ];
     };
   };
+
+  # NFS mounts from rhea and aion (NFSv4)
+  services.nfs-mounts.hosts = {
+    rhea = {
+      server = "rhea.sbr.pm";
+      folders = [
+        "downloads"
+        "ebooks"
+        "pictures"
+        "videos"
+      ];
+    };
+    aion = {
+      server = "aion.sbr.pm";
+      folders = [
+        "audiobooks"
+        "music"
+      ];
+    };
+  };
+
+  # NFS mounts from synodine (NFSv3)
+  fileSystems."/net/synodine/usbshare" = {
+    device = "synodine.home:/volumeUSB2/usbshare";
+    fsType = "nfs";
+    options = [
+      "nfsvers=3"
+      "x-systemd.automount"
+      "noauto"
+      "x-systemd.idle-timeout=600"
+      "soft"
+      "_netdev"
+    ];
+  };
+
+  fileSystems."/net/synodine/downloads" = {
+    device = "synodine.home:/volume1/downloads";
+    fsType = "nfs";
+    options = [
+      "nfsvers=3"
+      "x-systemd.automount"
+      "noauto"
+      "x-systemd.idle-timeout=600"
+      "soft"
+      "_netdev"
+    ];
+  };
+
+  fileSystems."/net/synodine/video" = {
+    device = "synodine.home:/volume1/video";
+    fsType = "nfs";
+    options = [
+      "nfsvers=3"
+      "x-systemd.automount"
+      "noauto"
+      "x-systemd.idle-timeout=600"
+      "soft"
+      "_netdev"
+    ];
+  };
 }