add LAN prefer to nfs
This commit is contained in:
parent
73b137dc84
commit
475ab0df9b
4 changed files with 25 additions and 11 deletions
|
|
@ -321,7 +321,8 @@
|
|||
# AutoFS auto-mounting for remote NFS shares
|
||||
services.autofs-custom = {
|
||||
enable = true;
|
||||
remoteHost = "10.2.2.20";
|
||||
remoteHost = "lan.hs.yanlincs.com"; # Prefer LAN when at home
|
||||
replicas = [ "10.2.2.20" ]; # Fallback to WireGuard when remote
|
||||
remotePath = "/mnt/storage/Media";
|
||||
mountPoint = "/mnt/hs-media";
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue