Commit Graph
100 Commits
Author SHA1 Message Date
Alexander Heldt a14ab23497 Update dagbok flake input 2026-11-09 12:46:17 +00:00
Alexander Heldt 2e5d6a638a Update dagbok flake input 2026-11-09 13:17:21 +01:00
Alexander Heldt 799ed089df Update ndp flake input 2026-11-09 13:14:27 +01:00
Alexander Heldt 3ca3c36a8d pinwheel: Show ndp in the waybar music status 2026-11-09 08:42:40 +01:00
Alexander Heldt 73ea89fd01 Update ndp flake input 2026-11-09 07:54:36 +01:00
Alexander Heldt a548a7978b Update ndp flake input 2026-11-08 19:26:10 +01:00
Alexander Heldt d3b3ff9a7b Update ndp flake input 2026-11-08 19:10:01 +01:00
Alexander Heldt eeecb7efc0 manatee: Configure lbsync from an agenix secret 2026-11-08 18:49:48 +01:00
Alexander Heldt 5983a2d821 Update ndp flake input 2026-11-08 18:49:48 +01:00
Alexander Heldt bcfd1f3602 manatee: Run the lbsync Navidrome plugin 2026-11-08 15:49:02 +01:00
Alexander Heldt 1a35a5ba2a Update ndp flake input 2026-11-08 15:49:02 +01:00
Alexander Heldt b9211e2767 pinwheel: Control ndp with the media keys 2026-11-08 15:23:34 +01:00
Alexander Heldt 57fb4835b6 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 22c5319398 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 31b55aea1d 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 00d58b9cf8 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 019110b1b4 Update dagbok flake input 2026-11-07 14:35:25 +00:00
Alexander Heldt 8f838752b8 Update dagbok flake input 2026-11-05 14:52:09 +00:00
Alexander Heldt 46c487332f Update dagbok flake input 2026-11-05 08:27:48 +00:00
Alexander Heldt cac5a2b1ef Update ct flake input 2026-11-05 08:46:24 +01:00
Alexander Heldt 49fb9a2c69 Update dagbok flake input 2026-11-05 07:45:16 +00:00
Alexander Heldt 5f6fe7df39 Update dagbok flake input 2026-11-03 14:33:01 +01:00
Alexander Heldt f6fdb33a6e 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 35f75bb6c7 Update dagbok flake input 2026-11-03 14:22:55 +01:00
Alexander Heldt 2db18e425e pinwheel: Restore claude and emacs panes with tmux-resurrect 2026-11-03 14:22:55 +01:00
Alexander Heldt 914f86db85 pinwheel: Increase foot font size to 17 2026-11-03 14:21:39 +01:00
Alexander Heldt 1034ede3d4 pinwheel: Save and restore tmux sessions with resurrect and continuum 2026-11-03 13:46:56 +01:00
Alexander Heldt 5662ac7055 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 6c4f99d772 pinwheel: Make claude settings writable with nix as defaults 2026-11-03 12:05:53 +01:00
Alexander Heldt 9f48601cbe pinwheel: Rename Emacs theme to sodium 2026-11-03 10:18:40 +01:00
Alexander Heldt 70ab4a27e7 pinwheel: Match tig colors to theme and show added lines in green 2026-11-03 10:05:27 +01:00
Alexander Heldt 1bb3bb7d30 Update ct flake input 2026-11-03 09:50:15 +01:00
Alexander Heldt 9afcbdb3a3 pinwheel: Show green as a muted green in terminals 2026-11-03 09:48:52 +01:00
Alexander Heldt 0cfd42e55a pinwheel: Brighten terminal background and soften text color 2026-11-03 09:28:12 +01:00
Alexander Heldt 9305627a02 pinwheel: Use amber instead of red for decorative Emacs faces 2026-11-03 09:28:12 +01:00
Alexander Heldt cfce92cdc0 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 3f319e182f pinwheel: Tint work Firefox toolbars instead of outlining the window 2026-11-03 09:28:12 +01:00
Alexander Heldt edf22641fb pinwheel: Outline work Firefox window instead of tab tops 2026-11-03 09:28:12 +01:00
Alexander Heldt 0c2be0fd29 pinwheel: Restore rounded corners on Firefox tabs 2026-11-03 09:28:12 +01:00
Alexander Heldt 34997adb1b Update dagbok flake input 2026-11-03 08:26:55 +00:00
Alexander Heldt 4026b7e92e manatee: Wait for ZFS mounts before starting sandboxed /mnt/media services 2026-11-02 10:55:35 +00:00
Alexander Heldt adb5d96d88 Update ct flake input 2026-11-02 11:54:26 +01:00
Alexander Heldt 2d99a181ad Update dagbok flake input 2026-11-02 10:19:05 +01:00
Alexander Heldt 1a9a5876b0 pinwheel: Unpin tailscale 2026-11-02 10:08:06 +01:00
Alexander Heldt 84a6eb218b pinwheel: Remove rounded corners from Firefox tabs 2026-11-02 10:07:11 +01:00
Alexander Heldt c547ed8d31 pinwheel: Disable Firefox "Smart Window" 2026-11-02 10:06:04 +01:00
Alexander Heldt 069a68c1e5 Update flake inputs 2026-11-02 08:10:31 +00:00
Alexander Heldt c0b9468e7b Update dagbok flake input 2026-11-02 08:02:32 +00:00
Alexander Heldt 296db9f211 Update schema flake input 2026-11-02 07:40:20 +00:00
Alexander Heldt 362db5510d tadpole: Drop removed DOMAIN setting from gitea 2026-11-02 08:33:31 +01:00
Alexander Heldt 65ea283827 Update flake inputs 2026-11-02 07:23:31 +00:00
Alexander Heldt 18df705f9d 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 d1c6b5f957 pinwheel: Configure ct through its Home Manager module 2026-10-29 11:45:02 +01:00
Alexander Heldt 6542e1b90c pinwheel/manatee: Drop tmux r reload binding in favour of R from tmux-sensible 2026-10-29 08:45:28 +01:00
Alexander Heldt 8f24781588 Update ct flake input 2026-10-28 15:10:23 +01:00
Alexander Heldt 470c6a00f8 pinwheel: Add ct for side threads in Claude Code sessions
Install ct from its flake, with its config, a tmux menu on prefix T and a user service for the web UI. Also keep Claude Code transcripts for ten years instead of 30 days, since threads are meant to be revisited.
2026-10-27 14:49:43 +01:00
Alexander Heldt 4380fada9d pinwheel: Add screenshot annotation with satty
Shift-prefixed screenshot bindings pipe the capture to satty, and notifications use a short timeout so they are not captured.
2026-10-27 09:59:09 +01:00
Alexander Heldt 4fe2e6a409 pinwheel: Copy to clipboard via OSC 52 in Emacs so it works over SSH 2026-10-26 15:41:53 +01:00
Alexander Heldt cf08957d58 pinwheel: Add Emacs command to copy file path with line number 2026-10-26 15:41:53 +01:00
Alexander Heldt b095ec1148 Update dagbok flake input 2026-10-26 14:41:27 +00:00
Alexander Heldt 0a3794cb29 Update dagbok flake input 2026-10-26 12:50:52 +00:00
Alexander HeldtandClaude Opus 5.5 5888c8e975 manatee: Alert on kitchen water leak
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 07:37:24 +00:00
Alexander Heldt f592fa3790 Update dagbok flake input 2026-10-23 12:00:14 +02:00
Alexander Heldt 658fb7f0e2 pinwheel: Lock instead of suspend on lid close
Have logind ignore the lid switch and suspend/hibernate keys so the
machine stays reachable over SSH with the lid closed. SUPER + SHIFT + x
remains the way to suspend; closing the lid now only locks the screen.
2026-10-22 19:37:42 +02:00
Alexander Heldt 155cd7d3e4 pinwheel: Fix webcam frame drops and raise resolution to 1080p
With the default 6 icamerasrc buffers the camera HAL ran out of pending
requests and dropped every fourth sensor frame, capping output at ~22.5 fps.
Using 10 buffers keeps the request queue fed and restores 30 fps.
2026-10-22 19:37:42 +02:00
Alexander Heldt eb590a986e Update dagbok flake input 2026-10-22 17:37:20 +00:00
Alexander Heldt d9f0d25efc Update dagbok flake input 2026-10-21 08:36:30 +02:00
Alexander Heldt d07912a8a7 backwards/pinwheel: Add SSH key for backwards to access pinwheel
Pinwheel's sshd had no way to accept keys from other hosts. Give it the
same `authorizedKeysCommand` setup as backwards and manatee, and authorize
a new `alex.backwards-pinwheel` key that backwards uses for `ssh pinwheel`.
2026-10-20 21:59:21 +02:00
Alexander Heldt 0f3a40fb1c backwards: Disable rtw88 power saving 2026-10-20 21:20:31 +02:00
Alexander Heldt 369affc7e7 backwards: Disable i915 display power saving 2026-10-20 21:20:31 +02:00
Alexander Heldt 72a14b04b4 backwards: Enable Steam and let it use the 8BitDo pad
`hid_nintendo` claims the pad when it is in Nintendo Switch mode, which
leaves Steam unable to reach it through hidraw. Blacklist the module and
tag the device with `uaccess` so Steam can open it.
2026-10-20 21:20:31 +02:00
Alexander Heldt 4a1e3356b0 backwards: Replace nix-gc-env with nh clean
`nix.gc` run as root cannot prune generations under
`~/.local/state/nix/profiles` (NixOS/nix#8508), and `nix-gc-env` only
looks in `/nix/var/nix/profiles`. Home-manager generations therefore
accumulated since August 2024 and filled the disk.

`nh clean all` enumerates users and walks their per-user profiles too.
It replaces `nix.gc.automatic`, which cannot be enabled alongside it.
2026-10-20 21:20:31 +02:00
Alexander Heldt 42e6d2e12f backwards/manatee/tadpole: Clean /tmp on boot
Only `pinwheel` set this. Elsewhere files in `/tmp` survived reboots,
and leftover `nh` build result symlinks there kept acting as GC roots,
pinning store paths that should have been collected.
2026-10-20 21:20:31 +02:00
Alexander Heldt f0920d4935 backwards: Add tailscale-qs GNOME extension for switching exit nodes 2026-10-20 21:20:31 +02:00
Alexander Heldt 165d3fc1a5 Update dagbok flake input 2026-10-20 14:01:47 +02:00
Alexander Heldt 2f731adb7b Update schema flake input 2026-10-20 09:04:31 +00:00
Alexander Heldt 40bb9e1b08 Update dagbok flake input 2026-10-20 09:04:17 +00:00
Alexander Heldt 9d6222576f Update dagbok flake input 2026-10-15 11:52:40 +00:00
Alexander Heldt 12d42c9993 manatee: Remove stale restic locks before each backup 2026-10-15 13:38:44 +02:00
Alexander Heldt d369baa176 Update dagbok flake input 2026-10-13 12:47:11 +00:00
Alexander Heldt 84c45f58f3 Update dagbok flake input 2026-10-13 09:50:12 +00:00
Alexander Heldt bf16ce10e5 Update whib-frontend flake input 2026-10-13 11:48:14 +02:00
Alexander Heldt 31a85fdb1d Update dagbok flake input 2026-10-13 07:55:28 +00:00
Alexander Heldt bd5f876657 pinwheel: Add dagbok Emacs client
Built from the dagbok flake's Emacs overlay, reading the shared token
from agenix.
2026-10-12 16:31:14 +02:00
Alexander Heldt ed6d4020d4 manatee: Add dagbok
Served at dagbok.ppp.pm through nginx from 127.0.0.1:8093, with its token
from agenix, a Hetzner DNS-01 certificate, a dynamic DNS record and a
state backup snapshot.
2026-10-12 16:31:14 +02:00
Alexander Heldt 36bb877a81 Update schema flake input 2026-10-12 14:18:36 +00:00
Alexander Heldt 5ef3865aff Update schema and puppy-tracker flake inputs 2026-10-04 18:24:42 +00:00
Alexander Heldt 6d4244b606 manatee: Drop the schema/puppy-tracker link and its secret
The link was removed from both apps, so the commented-out config for it
and the shared schema-puppy-token secret go too.
2026-10-04 18:18:08 +00:00
Alexander Heldt 28a75751db manatee: Back up SQLite databases of DynamicUser services
/var/lib/<name> is a symlink into /var/lib/private for those, so find
stopped at the link and the state dump never copied their databases
(schema, puppy-tracker, todo, …). Follow it with find -H.
2026-10-04 16:36:33 +00:00
Alexander Heldt 8ad7dd91c8 manatee: Cap ZFS ARC at 4 GiB 2026-10-04 16:36:33 +00:00
Alexander Heldt cab8ae02d6 pinwheel: Give the webcam v4l2loopback device more buffers 2026-10-02 09:45:20 +02:00
Alexander Heldt d5970e07f9 pinwheel: Route browser links to work firefox profile from work checkouts 2026-10-02 09:16:32 +02:00
Alexander Heldt 5a9e9fc790 pinwheel: Open gcloud links in work firefox profile 2026-10-02 08:59:12 +02:00
Alexander Heldt affa19cc33 pinwheel: Use alt instead of ctrl for atuin numeric shortcuts 2026-10-02 08:55:17 +02:00
Alexander Heldt e3370e32c4 pinwheel: Skip local network access checks for work domains in firefox 2026-10-02 08:54:52 +02:00
Alexander Heldt d80056572b pinwheel: Read atuin key from age secret, keep up arrow for zsh history 2026-10-01 08:56:55 +02:00
Alexander Heldt bb390db2d9 manatee: Disable atuin open registration 2026-10-01 08:56:55 +02:00
Alexander Heldt 239964d29d pinwheel: Add atuin, syncing to manatee 2026-10-01 08:34:32 +02:00
Alexander Heldt 43c77b7673 manatee: Add self-hosted atuin sync server 2026-10-01 08:34:32 +02:00
Alexander Heldt 95f8f6ac4c Update whib flake inputs 2026-09-30 17:48:39 +00:00