1
0
Fork 0
mirror of synced 2026-12-06 17:12:25 +00:00
No description
  • Go Template 42.1%
  • Shell 18.7%
  • PowerShell 15.1%
  • Python 11.3%
  • GLSL 6%
  • Other 6.7%
Find a file
Parker Wahle df5e166f9e
ltex-ls-plus: LTeX+ in Neovim, coc, VS Code and Claude Code, for markup only
Every client takes .chezmoidata/ltex.toml's settings through
.chezmoitemplates/ltex-settings.json, which settings.json.tmpl now renders
too. Its new enabled lists the markup formats regulad/pre-commit-hooks's
ltex-plus hook checks, so comments in code aren't checked anywhere. The
clients whose server reads external setting files itself get
initialization-options.json (managedByEditor false) and a dictionary entry
for the project's .vscode/ltex.dictionary.en-US.txt, which VS Code reads by
itself:

- Neovim: ltex_plus on the markup filetypes, reading both files.
- Vim: languageserver.ltex-plus in coc-settings.json, merged into
  ~/.vim/coc-settings.json, where the vimrc now points coc on every
  platform; rst reaches it as restructuredtext.
- VS Code: the ltex-plus.vscode-ltex-plus extension with ltex.* settings,
  running the installed build through ltex.ltex-ls.path.
- Claude Code: an ltex-plus plugin with its .lsp.json, in a local
  marketplace that dotfiles renders into ~/.local/share/claude-plugins and
  the plugin bootstrap adds. On Windows it runs Java directly, as Claude
  Code can't run ltex-ls-plus.bat.

Harper goes, as the fallback should LanguageTool stop being maintained:
Neovim's harper_ls, and the package from the brew and scoop lists, which
105-retired-packages and the brew scripts uninstall. reStructuredText,
AsciiDoc, filetype(s), coc and vimrc join the shared dictionary, and
docs/language-servers.md says what runs where.

Tested on Windows: Neovim, coc and a Claude Code session each reported
"She say wrong." in a scratch project, and accepted words from both the
shared dictionary and the project's.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Mv4cZ3LFVAJ9aG5SntwnAr
2026-12-03 12:28:38 -05:00
.claude [no ci] tools: apply-targets.py, the scoped apply for a commit, and its hook 2026-12-02 13:06:50 -05:00
.github chezmoi: populateCredentials and useHeadless, asked once by init 2026-12-02 11:06:49 -05:00
docs ltex-ls-plus: LTeX+ in Neovim, coc, VS Code and Claude Code, for markup only 2026-12-03 12:28:38 -05:00
home ltex-ls-plus: LTeX+ in Neovim, coc, VS Code and Claude Code, for markup only 2026-12-03 12:28:38 -05:00
tools ltex-ls-plus: regulad's build, with the pull requests upstream hasn't released 2026-12-03 10:38:16 -05:00
.chezmoiroot chezmoiroot: the source state moves into home/ 2026-11-26 16:46:06 -05:00
.dockerignore [no ci] AGENTS.md: worktrees go in .claude/worktrees 2026-11-26 16:49:57 -05:00
.gitattributes chezmoiroot: the source state moves into home/ 2026-11-26 16:46:06 -05:00
.gitignore [no ci] AGENTS.md: worktrees go in .claude/worktrees 2026-11-26 16:49:57 -05:00
AGENTS.md [no ci] AGENTS.md: a tool no package manager carries is packaged by us 2026-12-02 18:53:05 -05:00
Dockerfile.fedora chezmoi: populateCredentials and useHeadless, asked once by init 2026-12-02 11:06:49 -05:00
Dockerfile.ubuntu chezmoi: populateCredentials and useHeadless, asked once by init 2026-12-02 11:06:49 -05:00
LICENSE.md Update .chezmoiignore 2026-01-15 11:25:59 -05:00
README.md chezmoi: populateCredentials and useHeadless, asked once by init 2026-12-02 11:06:49 -05:00

Parker Edward "regulad" Wahle's Configuromicon

wakatime

Welcome to my configuromicon. This monolithic repository contains the configurations for most of the tools that I use on an everyday basis.

It's currently backed by chezmoi. Running chezmoi apply after a proper setup will enable deterministic restoration of my environment.

Additionally, it includes a couple custom tools that I use; for example, a pycalc3 command is provided that brings up an ephemeral IPython environment for quick CPE & physics calculations.

The default keyboard layout is of my Keychron Q6 Max. You should be able to replace the base.json with your keyboard's layout, but no guarantees are made.

My Tailscale configuration is part of homelab, in tofu/tailscale.

This project is AGPL-3.0 licensed. Small request: if you choose to contribute, please do so on the GitHub fork network. This is only a request, AGPL-3.0 does not obligate you to share private modifications unless they are used through a network (i.e. shell account).

PLEASE NOTE: While all files provided in this repository are AGPL-3.0 licensed, the final compiled docker image and workspace contain non-libre assets like the Android SDK.

Shell configurations

Supported environments:

  • macOS 10.15 (Catalina) and newer, Apple Silicon and Intel (w/ brew; releases Homebrew no longer bottles for get an era-pinned brew that still installs bottles, see docs/homebrew-older-macos.md)
  • Bluefin (Universal Blue's atomic Fedora desktop)
  • Ubuntu GNU/Linux >= 25.10
  • Fedora GNU/Linux >= 44
  • Windows 11 cmd

Brew will be installed on macOS and Linux if it is not already installed. This needs sudo: brew goes to its standard prefix, and the rootless install mode Homebrew itself does not support is not offered here.

Linux environments are preferred in the following order:

  1. Fedora
    • Why? DNF5 is fast, deterministic, and RHEL is the industry standard.
    • I trust Red Hat more to ship reliable and efficient software more than I trust Canonical.
    • Bluefin counts here: it is atomic Fedora. /usr belongs to the bootc image and is read-only, and rpm-ostree layering is an explicit anti-pattern on those images, so CLI tooling comes from brew rather than dnf. That split is what .chezmoiscripts/00-linux/run_after_022-brew-packages.sh.tmpl exists for, and it tracks which packages the image already provides so they aren't shadowed by a second copy earlier on PATH.
  2. Ubuntu
    • Why? Homebrew builds against Ubuntu, and not base Debian.

The Ubuntu and Fedora environments are available in Docker pours (see the packages menu on the right). Using latest will get you the newest Ubuntu image since fedora-based Docker images are pretty rare. Bluefin is not built here — it is a host you apply onto, not an image this repo produces.

The Debian setup has been migrated to Ubuntu to follow software that tests against Ubuntu.

Simialrly, RHEL is no longer supported in a first-class fashion. This setup is for desktop use.

Supported shells:

  • zsh (Preferred)
  • bash
  • cmd (NT-only)

I have no intent to support PowerShell: I don't want to spend half of the time in my shell wrestling with different eras of features and aliases that do not have the same signature as the builtins they shadow.

*nix Install

# Preferred: install with native package manager
apt/pkg/dnf/brew install chezmoi
# Alternative: install to .local/bin
sh -c "$(curl -fsLS get.chezmoi.io/lb)"
export PATH="$PATH:$HOME/.local/bin"
# run this instead on a macOS release older than 13 Ventura: chezmoi is a Go
# program, and each Go release drops old macOS (the symptom is dyld dying on a
# missing Security.framework symbol). Last chezmoi built before each cutoff:
# sh -c "$(curl -fsLS get.chezmoi.io/lb)" -- -t v2.72.0   # macOS 12 Monterey
# sh -c "$(curl -fsLS get.chezmoi.io/lb)" -- -t v2.64.0   # macOS 11 Big Sur
# sh -c "$(curl -fsLS get.chezmoi.io/lb)" -- -t v2.52.0   # macOS 10.15 Catalina

# Initalize & run first-time dependency install, without credentials: init
# asks its two questions once and keeps the answers, and --promptBool answers
# one here. The apply leaves out the encrypted files.
chezmoi init regulad --promptBool "Populate credentials=false"
chezmoi apply --exclude encrypted

# Configure bw for templating (bw is brew's bitwarden-cli, installed by the apply above;
# on an era-pinned macOS it is that era's version)
bw config server https://vw.regulad.xyz  # this is my server, obviously. replace w/ yours
bw login --apikey  # stdio needed

# Final apply, with credentials: --prompt asks the questions again
chezmoi init --prompt --promptBool "Populate credentials=true"
chezmoi apply ~/.local/share/age_secrets  # bootstraps age
chezmoi apply

NT Install

# Install dependencies via scoop
scoop install chezmoi git

# Initalize & run first-time dependency install, without credentials: init
# asks its two questions once and keeps the answers, and --promptBool answers
# one here. The apply leaves out the encrypted files.
chezmoi init regulad --promptBool "Populate credentials=false"
chezmoi apply --exclude encrypted

# Configure bw for templating
bw config server https://vw.regulad.xyz  # this is my server, obviously. replace w/ yours
bw login --apikey  # stdio needed

# Final apply, with credentials: --prompt asks the questions again
chezmoi init --prompt --promptBool "Populate credentials=true"
chezmoi apply %USERPROFILE%\.local\share\age_secrets  # bootstraps age
chezmoi apply

The autorun.cmd will automatically set up Clink and doskey macros (pipx, vi, chezmoi-cd, ssh-privpub) on each shell startup.

Notes

VSCode

Make sure you add any extensions you'd like to download to .chezmoidata/vscode.toml. The newest version of every extension listed there is installed whenever the list changes, and any installed extension not listed is uninstalled. The extensions a listed one brings in (extension pack members and extensionDependencies) are kept, and an install or uninstall that still fails after its retries fails the apply. Copilot needs no entry: VS Code ships GitHub Copilot Chat built in.

Packages

Remember to define the package in the correct hookscript under .chezmoiscripts/00-macos/, .chezmoiscripts/00-linux/ or .chezmoiscripts/00-nt/. Python, JavaScript, Rust and Go tools are shared by every platform instead, in .chezmoidata/{python,pnpm,cargo,go}-tools.toml, and Fedora's packages by both kinds of Fedora, in .chezmoidata/fedora-packages.toml. How the hookscripts fit together is in docs/hookscripts.md.

Docs

Longer write-ups live in docs/. chezmoi's source state is home/, which .chezmoiroot names, and nothing outside it is deployed to $HOME; source paths in the docs, like .chezmoidata/vscode.toml above, are relative to home/. The write-ups:

  • Hookscripts -- the preambles, script order, the brew prefix, C/C++ language support.
  • Tooling -- Homebrew versus uv/pnpm, explicit Python versions, pinned-era fallbacks and validation.
  • Homebrew on older macOS -- era-pinned brew for releases Homebrew no longer bottles for, the Catalina floor, brew update, MacPorts, bootstrapping 10.x.
  • Rosetta brew -- the x86_64 brew in /usr/local on Apple Silicon up to Tahoe 26, intel/arm, and nativeArch.
  • Bottle mirror -- every brew fetches bottles through a Nexus proxy of ghcr.io, except on GitHub-hosted runners.
  • Crate mirror -- cargo fetches crates through a Nexus proxy of crates.io, except on Catalina and Big Sur.
  • Theos
  • SSH server on Windows -- the user-session sshd.
  • Homelab exports -- the homelab hosts' SSH configuration and host keys, generated by regulad/homelab.
  • WSL -- wsl-deploy, wsl-enter and wsl-update.
  • git send-email -- SMTP passwords from the OS keychain, and patch signing with patatt through init.templateDir.
  • Git hooks -- the hooks init.templateDir copies into every new repository: pre-commit, and patatt's.
  • Containers -- which engine each host runs (wslc, apple/container, colima, podman) and the Docker Desktop and macOS podman removal.
  • MCP servers -- where Claude Code's and Codex's MCP servers come from, how each signs in, and why ngrok's isn't set up.
  • Language servers -- what each language server is set up with, and LTeX+'s shared settings, MDX included.
  • Syncthing -- the declarative mesh around aboriginal, how a machine joins, and which of Claude Code's state it carries.