Skip to content
vanducngPublic

About

AI-native macOS and Linux dev environment: Rex, rexboard, Neovim, Yabai, and coding agents

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

743 Commits

Folders and files

Repository files navigation

Duc's Digital Workspace

AI-native macOS and Linux development environment centered on Rex sessions across hosts, with rexboard watching every coding agent.

Docs macOS Neovim

Features

  • Window Management - Yabai + SKHD for tiling and hotkeys
  • Terminal - Rex sessions shared across Macs and Linux over Tailscale, Zsh, Ghostty; Herdr and tmux for remote work and OpenRig seats
  • Agent board - rexboard: one view of every agent's status on every host, with an OpenRig extension
  • Editor - Neovim (AstroNvim) with LSP
  • AI Tools - Claude Code, Codex, Grok, Pi, and Cursor agent with shared hooks and status reporting
  • Utilities - Atuin, Yazi, Starship, Mise, Direnv, Karabiner, Hammerspoon

Documentation

Full setup guide, keybindings, and workflows: dotfiles.vanducng.dev

Install configs with make stow-install, or one tool with make stow-<tool> (for example make stow-grok).

Linux (Ubuntu 22.04+)

User-space bootstrap — no sudo, no Homebrew, no Nix at runtime:

git clone https://github.com/vanducng/dotfiles.git ~/dotfiles
cd ~/dotfiles
make bootstrap-linux
# add to ~/.bashrc:  source ~/.config/shell/linux.sh

Full Linux notes (optional apt packages, git identity, Grok opt-in): installation guide.

Nix profiles

The flake provides a shared Home Manager profile for macOS and Linux. The current Kubernetes coding-agent pod remains Ubuntu-based and should consume the prebuilt image rather than installing Nix at runtime.

# Check the flake and enter its portable development shell.
nix flake check
nix develop

# First activation on macOS.
nix run home-manager/release-26.05 -- switch --flake .#macbook

# Later activations.
home-manager switch --flake .#macbook
home-manager switch --flake .#coding-agent

# Update pinned Nix inputs deliberately.
nix flake update nixpkgs home-manager herdr

The flake.lock file is committed so all machines use the same input revisions. Codex, Grok, Pi, and Moshi binaries still use their official installers; this repo stows their configs.

Remote browser

The coding-agent profile stows agent-browser-connect from the bin package. When BROWSER_CDP_URL points at a Kubernetes Chrome service, run:

agent-browser-connect
agent-browser open https://example.com
agent-browser snapshot -i
agent-browser close

The helper resolves the service to its pod IP, attaches to the persistent non-headless Chrome profile, and rejects accidental standalone HeadlessChrome sessions.

License

MIT

About

AI-native macOS and Linux dev environment: Rex, rexboard, Neovim, Yabai, and coding agents

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages