{ vars, ... }: { fileSystems."/mnt/raspi" = { device = "raspberrypi.${vars.tailnetDomain}:/home/raspi/raspi"; fsType = "nfs4"; options = [ "nofail" "_netdev" "noatime" # Don't mount until first access "x-systemd.automount" # Unmount after 10 min idle "x-systemd.idle-timeout=600" # Give the Pi/Tailscale a little time to appear "x-systemd.device-timeout=10s" # Explicitly use NFSv4.2 if supported "nfsvers=4.2" ]; }; }