I had an issues with this systemd unit: INFO+2: mount helper error: fusermount3: mount failed: Operation not permitted.
"mac-mounting" = {
script = "${pkgs.rclone}/bin/rclone mount --config /home/user /.config/rclone/rclone.conf --vfs-cache-mode writes --dir-cache-time 5s MacMini-dav: /home/user/Mac/";
serviceConfig = {
Type = "simple";
User = "username";
};
wantedBy = [ "default.target" ];
};