Dotfiles

One repo for macOS and Linux

chezmoiNeovimLuazshNixmise

The stack

Area Tools
Shared core
Dotfiles management chezmoi
Tool versions mise
Shell zsh, Starship, Atuin
Editor Neovim
Multiplexer Rex
Networking Tailscale
File manager Yazi
Version control Delta, Lazygit
System monitor btop
Keyboards Glove80 and Corne, on ZMK
Browser Helium
macOS
System management nix-darwin
Packages Homebrew
Secrets Bitwarden through rbw
Window management Rift, JankyBorders, SketchyBar
Launcher Tinycast
Hotkeys skhd
Keyboard remapping Kanata
Linux
Operating system Omarchy on Arch with Hyprland

Everything I work in is configured from one repository: the editor, the shell, the terminals, the window manager, the status bar and the keyboard remapping. It manages 686 files across a Mac and my Linux machines.

By the numbers

Files managed 686
Commits 3,318
Started October 2024
Folders under ~/.config 54
Neovim plugin files 58
Files that differ by operating system 12

How two systems share one repo

chezmoi applies the repo to the home directory. Most files are identical everywhere.

Where the systems differ, a file is either left out on one of them or written as a template with a check around the few lines that change. Only 12 files need a template.

Setup that is not a file, such as enabling a background service, runs as a script during apply. Those scripts re-run only when their contents change.

One colorscheme

A single command switches the colour scheme and regenerates the config for 20 tools, from the terminals and Neovim to the status bar and window borders. The wallpaper changes with it, and so does this site.

The rule

Edit the source, never the target. A change made directly in ~/.config is overwritten by the next apply.

Read more

I wrote this up in full in One dotfiles repo for macOS and a Linux VPS.

Current theme

robot-reading-5k

Copied automatically from my desktop colorscheme, once a week. Dark mode uses these values as they are; light mode keeps each hue and flips the lightness.

RoleSchemeOn this page now
BackgroundPage background#0e0f17
SurfaceTiles and cards#181921
LineBorders and dividers#2a2c3d
TextBody text#cebead
AccentPrimary button and logo mark#e6d0ba
How this works