diff --git a/default.nix b/default.nix index 5c4f81d..6f3faac 100644 --- a/default.nix +++ b/default.nix @@ -250,8 +250,16 @@ in "d /var/lib/usda-vision 0755 root root -" "f /var/lib/usda-vision/.env 0644 root root -" "d /var/lib/supabase 0755 root root -" + "d /mnt/nfs_share 0755 root root -" ]; + # NFS mount for shared storage + fileSystems."/mnt/nfs_share" = { + device = "192.168.1.249:/mnt/nfs_share"; + fsType = "nfs"; + options = [ "x-systemd.automount" "noauto" "x-systemd.idle-timeout=600" ]; + }; + # Supabase CLI configuration - runs in writable directory systemd.services.supabase-cli = { enable = true;