Run dev tooling in a persistent "dev" distrobox on the Steam Deck

SteamOS updates wipe pacman-installed packages and headers, so nvim,
treesitter build deps and Go tools now live in an Arch distrobox.

- bashrc: auto-enter the dev container from interactive host shells
  (skip with NO_DISTROBOX=1)
- systemd/distrobox-dev.service: start the container at login
- packages.txt: add treesitter build deps, Nerd Font symbols, Go devtools

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
2026-11-09 16:08:25 +00:00
co-authored by Claude Opus 5.5
parent daed1d7e73
commit 7ab3dc7779
3 changed files with 39 additions and 0 deletions
+7
View File
@@ -1 +1,8 @@
alias vim=nvim
# Drop interactive host shells straight into the "dev" distrobox.
# Skip with: NO_DISTROBOX=1 bash
if [[ $- == *i* && -z $CONTAINER_ID && ! -e /run/.containerenv && -z $NO_DISTROBOX ]] \
&& command -v distrobox >/dev/null && podman container exists dev 2>/dev/null; then
distrobox enter dev && exit # falls back to host shell if enter fails
fi