Swapping my desktop monitor and laptop's display with a pair of AR glasses was easy enough, but my eyes absolutely hated it.
You can share a keyboard and mouse across multiple Windows and macOS computers, if you know the right tools to use.