Commit Graph
863 Commits
Author SHA1 Message Date
Alexander Heldt b21c943b04 pinwheel: Add wt sync to restack every worktree
`gt sync` skips branches checked out in another worktree, so a stack
living in one stays on the old main. `wt sync` runs `gt sync`, then
`gt restack` in each worktree not on main. A conflict in one worktree
leaves it mid-rebase and does not stop the others; the failed
worktrees are listed at the end and the exit status is 1.
2026-11-23 08:14:32 +01:00
Alexander Heldt 426d29bbd4 pinwheel: Add wt for git worktrees beside the primary checkout
`wt <branch>` goes to the worktree holding a branch, creating one in
`<primary>.worktrees/<branch>` if needed; `wt -c` starts a new
Graphite-tracked branch off main in its own worktree; `wt rm` removes
one and keeps the branch.

A new worktree gets `direnv allow` only when its `.envrc` matches the
primary's. In backend it also gets a `.pants.rc` pinning `find_links`
to the primary's `dist/`: `pants.toml` sets it to the checkout's own
path, which put the path into every `requirements.pex` cache key and
made each worktree rebuild them. No lockfile resolves from it.
2026-11-22 18:25:33 +01:00
Alexander Heldt 3a6a75bffa pinwheel: Give ndp an Anthropic API key for asking an LLM 2026-11-20 10:27:50 +01:00
Alexander Heldt ef499b0581 manatee: Remove solo-referee module and flake input 2026-11-20 08:56:34 +01:00
Alexander Heldt ef21a9a785 pinwheel: Turn off code-action hints with refactor-indications
Eglot 1.25 moved code actions to the `refactor` package and made
`eglot-code-action-indications` an obsolete alias for
`refactor-indications`. The alias is set before eglot loads, so the
setting no longer applies and the `refactor` default comes back. Its
eldoc hint then takes the one-line echo area, hiding the hover
signature.
2026-11-17 14:25:42 +01:00
Alexander Heldt c40dec90bd pinwheel: Fix webcam breaking after resume from hibernation
Hibernation powers off the Lattice USBIO bridge that the ov08x40
sensor and Intel CVS sit behind. usbio has no reset_resume callback,
so on restore the USB core unbinds and rebinds it, which re-creates
the sensor and CVS I2C clients. The new clients lack the fwnode graph
that ipu-bridge built at boot, and ipu-bridge never rebuilds it, so
the camera stays dead until a cold boot.

Patch usbio to redo the bridge handshake in reset_resume instead of
being rebound, and patch gpio-usbio to restore its pin configuration
and output values after such a reset. Both are built from the kernel
source and installed under updates/, sharing the build recipe with
the patched ipu6-isys module.
2026-11-17 10:36:46 +01:00
Alexander Heldt 3ddba7f670 pinwheel: Install picard plugin replaygain2 from a pinned source 2026-11-17 09:07:05 +01:00
Alexander Heldt 301aa7c1bb pinwheel: Scale picard by 1.5 with QT_SCREEN_SCALE_FACTORS 2026-11-16 22:13:41 +01:00
Alexander Heldt a52494e39b pinwheel: Add picard with the replaygain2 plugin 2026-11-16 22:03:18 +01:00
Alexander Heldt 7ad43db433 pinwheel: Name the exit node in the tailscale connect notification
The notification shows the exit node's hostname, followed by its city
and country when tailscale knows the node's location.
2026-11-15 15:49:20 +01:00
Alexander Heldt f4b0269b08 pinwheel: Hibernate instead of suspend when the battery is low
Adds a swap file to hold the hibernation image. The low battery timer and
UPower's critical action now hibernate, and SUPER+SHIFT+x uses
`suspend-then-hibernate` so a suspended laptop hibernates before the
battery runs out.
2026-11-15 15:08:35 +01:00
Alexander Heldt f31ac25f3d backwards: Replace tailscale-qs with the official tailscale systray
The `tailscale-qs` extension's node list could not be opened. The
official `tailscale systray` shows the nodes and exit nodes, with the
AppIndicator extension providing a tray in GNOME. The systray never
retries if no tray exists when it starts, so it waits for one first.
2026-11-13 19:42:38 +01:00
Alexander Heldt b4b9136593 backwards: Add a raw touchpad bridge for the K400 Plus
The K400 Plus firmware turns two-finger swipes into whole wheel ticks, so
every scroll jumps a fixed distance. A trimmed copy of k400-raw's touchpad
mode switches the touchpad to raw HID++ reporting and exposes it as a
native multitouch touchpad, which GNOME scrolls smoothly.
2026-11-13 19:02:11 +01:00
Alexander Heldt 0d1e7d4c77 pinwheel: Autoload every dagbok command the README lists 2026-11-13 10:20:06 +01:00
Alexander Heldt a981623b67 pinwheel: Autoload dagbok-refresh instead of the removed dagbok-reload 2026-11-13 10:20:06 +01:00
Alexander Heldt 69bc014849 manatee: Send Galleriet and disk SMART alerts only to the Pixel
Only the fridge door and water leak alerts need to reach both phones.
2026-11-13 09:14:34 +00:00
Alexander Heldt a3c9c28875 pinwheel: Autoload dagbok-year instead of the removed dagbok-open-date 2026-11-13 10:14:00 +01:00
Alexander Heldt 404138d411 pinwheel: Toggle the work VPN from waybar without sudo 2026-11-13 10:14:00 +01:00
Alexander Heldt 36655ac153 manatee: Alert when Galleriet is above 23°C and notify both phones
Add a `binary_sensor.galleriet_too_warm` template sensor and an alert
that repeats hourly while it's on. Send all Home Assistant
notifications through a `phones` notify group so they reach both the
Pixel and the iPhone, with a critical alert on iOS for water leaks.
2026-11-11 08:57:51 +00:00
Alexander Heldt 72cc9932c4 pinwheel: Pass shift+enter and other modified keys through tmux 2026-11-09 14:47:37 +01:00
Alexander Heldt b63c2ee12f pinwheel: Show ndp in the waybar music status 2026-11-09 08:42:40 +01:00
Alexander Heldt 9c9e2456e2 manatee: Configure lbsync from an agenix secret 2026-11-08 18:49:48 +01:00
Alexander Heldt b3b5afc2dd manatee: Run the lbsync Navidrome plugin 2026-11-08 15:49:02 +01:00
Alexander Heldt b2d0da1ede pinwheel: Control ndp with the media keys 2026-11-08 15:23:34 +01:00
Alexander Heldt 40e89a6006 pinwheel: Add ndp, a terminal player for Navidrome
The player's config is generated by its home-manager module; the Navidrome
password stays in an agenix secret that the config reads at startup.
2026-11-08 15:20:00 +01:00
Alexander Heldt 75a045c2c6 manatee: Add an SSH key for reaching tadpole
Add `alex.manatee-tadpole`, a passphrase-protected key, with a `tadpole`
host entry in manatee's SSH config. tadpole authorizes it next to the
key from pinwheel.
2026-11-07 18:33:06 +00:00
Alexander Heldt 5bedd29fd2 tadpole: Redirect www.heldtenkelt.se to heldtenkelt.se
www gets its own ACME certificate so that a problem with it can't block
the certificate for heldtenkelt.se.
2026-11-07 15:05:12 +00:00
Alexander Heldt 449e3cbfdf tadpole: Host heldtenkelt.se
Add the heldtenkelt.se-site flake as an input and serve it with nginx
on tadpole, with its own ACME certificate.
2026-11-07 14:59:33 +00:00
Alexander Heldt ef585c9cf3 pinwheel: Make tmux pane borders visible
The borders used the terminal background color since the switch to
the grayscale palette, which hid them against the panes. Draw them in
the dim gray used for inactive window names instead.
2026-11-03 14:27:56 +01:00
Alexander Heldt 44afaf3936 pinwheel: Restore claude and emacs panes with tmux-resurrect 2026-11-03 14:22:55 +01:00
Alexander Heldt 65c16f2ea6 pinwheel: Increase foot font size to 17 2026-11-03 14:21:39 +01:00
Alexander Heldt ee0cb23acc pinwheel: Save and restore tmux sessions with resurrect and continuum 2026-11-03 13:46:56 +01:00
Alexander Heldt 64640e98aa pinwheel: Fix intermittent webcam failure from IPU6 isys oops
On 7.3 the in-tree IPU6 isys driver can be runtime-suspended while
isys_probe() is still running, before it has set drvdata. The suspend
callback then dereferences a NULL isys, oopses, and psys never probes,
so /dev/ipu-psys0 is missing and the camera HAL fails with "Failed to
open PSYS".

Patch the isys runtime PM callbacks to return early when drvdata is
not set yet. The patched module is built on its own from the kernel
source and installed under updates/, so it overrides the in-tree one
without having to rebuild the whole kernel.
2026-11-03 13:46:56 +01:00
Alexander Heldt 4dfce548bf pinwheel: Make claude settings writable with nix as defaults 2026-11-03 12:05:53 +01:00
Alexander Heldt 04f277014e pinwheel: Rename Emacs theme to sodium 2026-11-03 10:18:40 +01:00
Alexander Heldt 001f201221 pinwheel: Match tig colors to theme and show added lines in green 2026-11-03 10:05:27 +01:00
Alexander Heldt d8df987268 pinwheel: Show green as a muted green in terminals 2026-11-03 09:48:52 +01:00
Alexander Heldt 8d0f2bbf52 pinwheel: Brighten terminal background and soften text color 2026-11-03 09:28:12 +01:00
Alexander Heldt 20118ad828 pinwheel: Use amber instead of red for decorative Emacs faces 2026-11-03 09:28:12 +01:00
Alexander Heldt 4a1f524864 pinwheel: Replace purple color scheme with grayscale and amber
Terminals, tmux and Emacs share a grayscale palette with amber
accents instead of Dracula, and the desktop bars and menus use a
matching gray background.
2026-11-03 09:28:12 +01:00
Alexander Heldt 79df296690 pinwheel: Tint work Firefox toolbars instead of outlining the window 2026-11-03 09:28:12 +01:00
Alexander Heldt e88cc48bf0 pinwheel: Outline work Firefox window instead of tab tops 2026-11-03 09:28:12 +01:00
Alexander Heldt 91d0d8d34b pinwheel: Restore rounded corners on Firefox tabs 2026-11-03 09:28:12 +01:00
Alexander Heldt afe4f2db81 manatee: Wait for ZFS mounts before starting sandboxed /mnt/media services 2026-11-02 10:55:35 +00:00
Alexander Heldt abf6230995 pinwheel: Unpin tailscale 2026-11-02 10:08:06 +01:00
Alexander Heldt 5da548741a pinwheel: Remove rounded corners from Firefox tabs 2026-11-02 10:07:11 +01:00
Alexander Heldt 1d172e315e pinwheel: Disable Firefox "Smart Window" 2026-11-02 10:06:04 +01:00
Alexander Heldt 3b779054e3 tadpole: Drop removed DOMAIN setting from gitea 2026-11-02 08:33:31 +01:00
Alexander Heldt 924d06865a manatee: Reload Plejd when its BLE link goes stale
pyplejd keeps using a dead BLE client ("Service Discovery has not been
performed yet") instead of reconnecting, which left the Plejd lights
unreachable for two days. Fire system log events and let an automation
reload the integration when that warning shows up.

Also add systemd to bt-reset's PATH so its `systemctl` calls work.
2026-11-02 07:22:57 +00:00
Alexander Heldt 3f4a790b53 pinwheel: Configure ct through its Home Manager module 2026-10-29 11:45:02 +01:00