Enable NFS client (rpcbind) and update mount options
This commit is contained in:
@@ -201,6 +201,7 @@ in
|
|||||||
htop
|
htop
|
||||||
curl
|
curl
|
||||||
wget
|
wget
|
||||||
|
nfs-utils
|
||||||
|
|
||||||
# Docker and Docker Compose for running usda-vision
|
# Docker and Docker Compose for running usda-vision
|
||||||
docker
|
docker
|
||||||
@@ -253,11 +254,14 @@ in
|
|||||||
"d /mnt/nfs_share 0755 root root -"
|
"d /mnt/nfs_share 0755 root root -"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# Enable NFS client support
|
||||||
|
services.rpcbind.enable = true;
|
||||||
|
|
||||||
# NFS mount for shared storage
|
# NFS mount for shared storage
|
||||||
fileSystems."/mnt/nfs_share" = {
|
fileSystems."/mnt/nfs_share" = {
|
||||||
device = "192.168.1.249:/mnt/nfs_share";
|
device = "192.168.1.249:/mnt/nfs_share";
|
||||||
fsType = "nfs";
|
fsType = "nfs";
|
||||||
options = [ "x-systemd.automount" "noauto" "x-systemd.idle-timeout=600" ];
|
options = [ "nfsvers=4" "rw" "soft" "intr" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
# Supabase CLI configuration - runs in writable directory
|
# Supabase CLI configuration - runs in writable directory
|
||||||
|
|||||||
Reference in New Issue
Block a user