Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion nix/home/rclone-mount.nix
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,10 @@ let
echo "$(date '+%F %T') mount start" >>"${logFile}"
# foreground execution (launchd keeps it alive). Exclude the restic repository to protect it:
# excluded paths don't appear on the mount, so they can't be deleted from Finder either.
exec rclone mount "${name}:" "${mountPoint}" \
# nfsmount, not mount: `rclone mount` needs macFUSE, a kext that costs a reboot and a
# security approval. nfsmount serves the VFS over rclone's built-in NFS server and calls
# mount_nfs, which needs neither root nor a third-party filesystem.
exec rclone nfsmount "${name}:" "${mountPoint}" \
--config "${rcloneConf}" \
--exclude "/restic-backup/**" \
--exclude "/restic-archive/**" \
Expand Down
Loading