Borrowing a brain
· 7 min read
I was recently told that 16GB of RAM is the bare minimum you should buy in a new laptop today.
That is a wild baseline. I remember when 4GB made for a solid, respectable machine. I won't go down the rabbit hole of why modern software got so bloated, because the real absurdity isn't the memory footprint. It's the assumption that every portable screen and keyboard needs to carry workstation-grade compute locally.
I'm not against modern silicon. I love reading about 128-core Threadrippers and bleeding-edge architectures. My real soft spot, though, is low-power, high-efficiency compute: getting the most work done per watt. That obsession is what drew me to the M4 Mac mini in the first place.
Like most people who tinker with hardware, I had a couple of older laptops gathering dust in a drawer: a ThinkPad A285 (nothing wrong with it aside from a dodgy battery) and a ThinkPad T490s. My M4 Mac mini obliterates both in raw speed. I looked into a portable M4 MacBook to match, only to find that used M-series hardware holds its value almost too well. My Mac mini is worth nearly what I paid for it.
Then the obvious question hit me: why pay Apple prices for portable compute when an M4 Mac mini is already idling at 5W at home? Why not borrow its brain?
The payoff: under 1GB of RAM and days of battery
I've run this as my daily driver for over a month, and the numbers dismantle the 16GB-minimum rule:
- Idle RAM: under 1GB.
- Active RAM: roughly 1.2GB while coding with a browser open.
- Battery: from a few hours (local builds and several AI coding agents) to days on a single charge, even with multiple agents running.
The ThinkPad isn't compiling code, running language servers or hosting agent loops. Battery drain comes almost entirely from the screen backlight and the wifi radio. The heavy compute, and most of the network traffic, stays on the Mac mini.
From pixel streaming to stateless terminals
My first idea was screen sharing with Parsec. It works well on a fast home network. The moment you need a laptop for real, on the road, tethered to a phone or on spotty public wifi, a high-resolution video feed eats bandwidth and turns into a laggy, compressed mess.
So I thought back to SSH-ing into Hetzner servers. A terminal over ssh is featherlight and near-instant. The catch is that SSH runs over TCP: close the lid, switch cell towers or hit a dead zone, and the connection drops and kills your flow.
Pairing mosh with zellij over Tailscale solved that. I've used it on a coach trip with some of the worst wifi imaginable, and on the Eurostar, where my Claude Code session kept running without a hitch.
How the stack works
In many ways, this is the original promise of Google Chromebooks: cheap, lightweight hardware that offloads the heavy lifting over the network. The difference is that I'm not renting someone else's cloud or locked into a browser-only OS. The compute is still local to hardware I own and control. The ThinkPads become lightweight, stateless Wayland thin clients, and the Mac mini does all the heavy lifting.
The client: ThinkPad A285 and T490s
Both ThinkPads run a minimal, keyboard-driven Void Linux setup built around Sway, a tiling Wayland compositor, and Foot, a lightweight Wayland-native terminal. No heavy desktop environment eats RAM in the background.
In theory you don't need Void Linux or Sway for this. Anything with a screen, a keyboard and a terminal that can run Mosh and SSH will work, whether that's an old tablet or even a jailbroken Kindle. A classic ThinkPad is my sweet spot: a great keyboard, a proper display, and a full local Linux machine to fall back on. I'm genuinely happy with how right this setup feels.
Tailscale links the ThinkPads to the Mac mini over an encrypted WireGuard mesh. It punches through NATs, hotel firewalls and mobile hotspots without opening a single port on my home router.
One keystroke to a workspace. In Sway, Super+Return opens a local terminal, and Super+Shift+Return runs dev-term, a small wrapper script. It checks whether the Mac mini (mini) is reachable, connects with Mosh into a persistent Zellij session (main), and falls back to a local Zellij session if I'm offline:
#!/bin/sh
export LC_ALL=C.UTF-8
if ssh -o BatchMode=yes -o ConnectTimeout=2 mini true 2>/dev/null; then
exec mosh --server=/opt/homebrew/bin/mosh-server mini -- zellij attach -c main
fi
echo "mini unreachable, using local zellij" >&2
sleep 1
exec zellijSurviving bad connections. Unlike SSH, Mosh runs over UDP. It predicts keystrokes locally, so typing feels instant even at 300ms of latency, and it roams across IP addresses. I can close the lid on a train and open it twenty minutes later, and Mosh reconnects without a hiccup. Zellij keeps every pane, build and AI session running on the Mac.
Reaching dev servers. Remote development has one classic catch: dev servers, APIs and OAuth callbacks bind to localhost on the Mac mini, not on the ThinkPad. For a single service, SSH port forwarding (ssh -L 3000:127.0.0.1:3000 mini) maps a port straight to the laptop. When I'm running several web apps, or a CLI login redirects to localhost, chromium-mini opens a background SOCKS5 proxy and launches an isolated Chromium profile routed through the Mac mini:
#!/bin/sh
ssh -N -D 1080 -o ExitOnForwardFailure=yes -o ControlPath=none mini &
tunnel=$!
trap 'kill $tunnel' EXIT
sleep 1
chromium --user-data-dir="$HOME/.cache/chromium-mini" \
--proxy-server=socks5://localhost:1080 \
--proxy-bypass-list='<-loopback>' "$@"The host: M4 Mac mini
pmset disables system and disk sleep and enables Wake-on-LAN and automatic restart after a power cut (sleep 0, disksleep 0, womp 1, autorestart 1). With the display off, it idles around 5W and stays instantly reachable over Tailscale.
The Mac mini has the CPU and memory headroom, so everything runs natively on Apple Silicon inside Zellij: Helix (hx), Git and gh, toolchains (go, bun, sqlite, duckdb), test suites and AI agents like Claude Code. An isolated non-admin macOS user, ghrunner, runs a self-hosted GitHub Actions runner through a LaunchDaemon. That gives me native Apple Silicon CI without exposing my personal files or credentials.
The full Sway configs, mini.sh bootstrap script and runner setup are in my config repository.
Why I prefer my old laptop to my desk
The most surprising result is that I now prefer working from a ThinkPad to sitting at the Mac mini.
Part of it is ergonomics: a classic ThinkPad keyboard on the couch or in a coffee shop is hard to beat. The bigger shift is mental. A tiling Wayland compositor wrapped around a persistent terminal strips away visual clutter. For the rare macOS-only GUI task, I walk over to the desk or tunnel macOS Screen Sharing over SSH into Remmina. Everywhere else, swapping heavy GUI apps for TUIs keeps local RAM around 1.2GB and lets a multi-year-old laptop run for days.
The catch
The one hard requirement is internet access, plus keeping the Mac mini powered on at home. If your connection drops, you lose your main compute environment.
In practice, reliable connectivity is more available than ever, and if AI coding agents are core to your workflow, as they are to mine, you need a connection anyway. Offline, the ThinkPads are still full Linux machines that can run editors, builds and containers, just slower and at a cost to battery. If a connection is too weak even for Mosh, I'd rather read documentation or review code than drain the battery fighting it.
It isn't a great fit everywhere:
- Visual and GUI-heavy work: if your day revolves around Figma, 4K video editing or latency-sensitive graphics, a terminal over Mosh won't cut it.
- Offline-first environments: if you regularly work on long flights without wifi, or in air-gapped environments, local compute still wins.
Looking ahead: agentic laptops and smart glasses
Where I think this gets exciting is what it enables for future portable hardware: ultra-efficient agentic laptops and smart glasses.
If your workflow is built around remote execution and AI agents, a laptop doesn't need a power-hungry desktop-class processor or a huge battery to compile code locally. Hardware makers could build thin, silent laptops around ultra-low-power mobile chips, without fighting the usual OS and toolchain compatibility hurdles, because the heavy execution and agent loops live on your home server.
The same logic applies to smart glasses, assuming we leave the cameras off. Nobody wants face-mounted surveillance in public. Smart glasses face the same battery, thermal and compute limits as an aging laptop, shrunk down to your face. Instead of strapping hot, power-hungry silicon to your nose, imagine lightweight, cameraless display glasses paired with a pocket cellular modem, Mosh, Zellij and a 5W Mac mini humming at home.
You don't need 16GB of RAM on your face or in your backpack. You need a good screen, a reliable keyboard and a smart way to borrow compute.