Commit Graph
11 Commits
Author SHA1 Message Date
connor 1f906acd80 Drop empty link sources; make install refuse them
Five directories swept in held no files — matplotlib, three gtk dirs and
one mpv. Git cannot represent an empty directory, so they existed on
mainframe where they were created but vanished on clone, and system76's
install failed with "Nonexistent target".

install now checks every link source exists before running dotbot, so this
surfaces on the machine that introduced it rather than the next one to
pull.
2026-09-14 14:55:07 -04:00
connor 29bcf615e6 Sweep every machine for config worth tracking
Reactive capture missed wallust entirely, so this is a systematic pass over
~/.config on all four machines: every entry that is not already a symlink,
judged on whether it is hand-authored config or app-generated state.

Shared and identical everywhere -> common/: lazygit, ncmpcpp, neofetch,
matplotlib. Everything else differs per machine and goes in
hosts/<host>/config/: gtk-2.0/3.0/4.0, mimeapps.list, user-dirs.dirs,
mpv, swaync, swayimg, bob, pavucontrol.ini, zoom; plus beets, bottom,
glow and mpd on system76; fastfetch, gh, uv, traggo, tiling-assistant and
xdg-desktop-portal on the work laptop; inbox-tidy and llmfit on mainframe.

Deliberately excluded, all verified to hold live credentials: the work
laptop's Claude OAuth tokens (~/.config/anthropic/credentials), the NAS
restic repo password and hetzner.env, subsonic passwords in subtui, stmp
and termsonic, mopidy, supersonic, the Proton bridge env and the LiteLLM
virtual keys. The ignore list now names those shapes directly — a bare
`password` file would not have been caught before.

Also excluded as generated state or too large to be meaningful: GIMP,
kicad, BambuStudio, OrcaSlicer, calibre, LightBurn, obs-studio, feishin,
libreoffice, VirtualBox, FortiClient; and mainframe's dead X11-era
leftovers (i3, openbox, lxpanel, lxsession, pcmanfm).
2026-09-14 14:54:17 -04:00
connor 45e76f375f Stop shortcutting git.rcjohnstone.com in ssh config
The router resolves it to 10.0.0.2 at the DNS level and the remote URL
already carries :2222, so the alias was redundant everywhere and wrong on
mainframe, where it pointed at localhost. Verified: connecting with
-F /dev/null succeeds from both mainframe and system76.
2026-09-14 14:50:37 -04:00
connor 4d4242f103 Sort package manifests under LC_ALL=C
pkg-snapshot and dots used plain sort, which is locale-dependent: the same
package set ordered differently on two machines, so dots reported drift
that did not exist. A maintenance tool that always cries wolf is the exact
failure mode dots exists to avoid.
2026-09-14 14:47:26 -04:00
connor c0bd4f5b1d Drop dwindle:pseudotile from the shared Hyprland config
The laptops are on different Hyprland versions — system76 on 0.55.4,
the work laptop on 0.54.3 — and the option was removed in 0.55. Taking the
work laptop's config as canonical therefore introduced a config error on
system76 that did not exist before.

It is redundant either way: 0.54.3 reports the default as already enabled.
This is the first case of the shared config needing to tolerate two
compositor versions; it will not be the last.
2026-09-14 14:46:38 -04:00
connor 7a0ce08c4d Link ~/.gitconfig, not ~/.config/git/config
Git reads both, and ~/.gitconfig wins. Linking only the XDG path left the
stale ~/.gitconfig in charge, so system76 kept signing commits as a
previous employer even after the cutover appeared to succeed — the symlink
was correct and had no effect.
2026-09-14 14:45:29 -04:00
connor 42c4277ceb Split ssh config into common plus a host layer
Putting the whole ssh config in common/ was wrong twice over. It mapped
git.rcjohnstone.com to localhost:2222, which is only true on mainframe
where Gitea runs -- on system76 it broke git entirely. And it replaced a
77-line file holding 13 personal host aliases (storagebox, several
forwarded localhost ports, older work hosts) with a five-entry fleet list.

common/ssh/config now Includes ~/.ssh/config.local first, so host entries
win on the first-value-obtained rule, and carries only the fleet aliases.
Each host keeps its own list; system76's is restored verbatim.
2026-09-14 14:44:04 -04:00
connor b25415d1a2 Track wallust; retire the sway-era colour pipeline
The laptops are themed by wallust, whose config and five templates lived
only in ~/.config/wallust on each machine. A fresh install would have had
no colours at all: hyprland.conf sources colors.conf on its first line and
waybar's style.css imports colors.css on its first line, and nothing in
the repo generated either. Both generated files are now linked per host so
bootstrap works, and wallust writes back through the symlinks.

update_colors.sh was its predecessor and is now actively harmful: it
writes sway/config and wofi/style.css, neither of which exists on any
machine any more, and it regenerates waybar/style.css from a template that
was never carried across -- so running it would have overwritten the
shared Hyprland waybar style with sway-era output.

common/colors (255 theme files, 1.1 MB) was only ever its input.
2026-09-14 14:42:53 -04:00
connor daedb56dff Drop the networkmanager-dmenu entry I wrongly added
The earlier survey grepped for the exact package name and concluded the
binding in hyprland.conf was dead. It is not: system76 has it from AUR as
networkmanager-dmenu-git, and the work laptop carries the upstream script
in its own bin. The $mainMod+W binding already works on both.

Adding the repo package to system76.pacman would have made pkg-restore
install it alongside the AUR one — both ship /usr/bin/networkmanager_dmenu,
so pacman would have refused with a file conflict.
2026-09-14 14:40:30 -04:00
connor 229b4bce6f Fix two bugs the mainframe cutover surfaced
dotbot does not carry a `defaults` block between config files, so the
host configs ran without force/relink and refused to replace paths that
already existed as real files — the opencode profiles, the Claude files,
the sunshine config and the old systemd units all failed to link. Each
host config now restates the block.

ddns.timer used OnCalendar=*-*-*/2, which systemd rejects: a day-of-month
step needs an explicit start value. The retired cron line was
`0 2 */2 * *`, so the correct spelling is *-*-1/2.
2026-09-14 14:33:05 -04:00
connor e6644d0616 Rebuild dotfiles as one branch with per-host layers
Replaces the previous repo, which had split into two histories that never
met (mainframe on a dead GitLab remote, the laptops on Gitea) with 146
dirty files across three machines and the NAS never enrolled at all.

Branch-per-machine is gone. One main, with host differences expressed as
small files under hosts/<hostname>/ rather than as branches, so there is
nothing to merge. The reconciled zsh layer reduces 15-33 line forks to
1-7 effective lines per host; distro differences (oh-my-zsh prefix,
syntax-highlighting path, fd vs fdfind) are probed in common/ instead.

Fresh history: the old one carried six plaintext credentials, 45 MB of
mail caches, browser caches and vendored binaries. 5,096 tracked files
and 144 MB become 462 files and 2.6 MB. The .gitignore is now an
allowlist, which is what keeps that true.

Root cause of the rot: ~/.local/bin was a symlink to scripts/ with GOPATH
inside it, so every go install wrote into version control (2.2 GB on the
work laptop). PATH now points at the repo instead of the reverse.

Also: Hyprland replaces sway and is sourced in two halves so $browser is
defined before use; singleton automations carry ConditionHost= alongside
host-layer-only placement; ddns moves from cron to a guarded timer;
package manifests and pkg-snapshot/pkg-restore replace the X11-era
install_scripts/; networkmanager-dmenu added to system76 (the binding
always existed, the package never did).
2026-09-14 14:24:37 -04:00