From 6e138c6f7fb5977edf87e214296d8ec7d7a9fa2f Mon Sep 17 00:00:00 2001 From: beatzaplenty Date: Thu, 2 Apr 2026 00:07:32 +0000 Subject: [PATCH] Update hosts/docker/configuration.nix --- hosts/docker/configuration.nix | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/hosts/docker/configuration.nix b/hosts/docker/configuration.nix index d402693..2218b35 100644 --- a/hosts/docker/configuration.nix +++ b/hosts/docker/configuration.nix @@ -48,6 +48,27 @@ services.rpcbind.enable = true; fsType = "ext4"; options = [ "defaults" "nofail" "noatime" ]; }; +fileSystems."/mnt/raspi" = { + device = "raspberrypi.tail13f623.ts.net:/home/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" + ]; +}; # Create nextcloud cron scheduled task systemd.services.nextcloud = {