Commit Graph
1086 Commits
Author SHA1 Message Date
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
Alexander HeldtandClaude Opus 5.5 15cb5cccf0 test-vm: Serve whib-frontend with nginx
The WHIB frontend module no longer runs a container or has a `port`
option. Forward host port 8081 to nginx in the VM instead.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 17:46:06 +00:00
Alexander Heldt 86c1688847 pinwheel: Use empty strings for ai attribution settings 2026-09-30 10:00:14 +02:00
Alexander Heldt 03075526e2 Update puppy-tracker flake input 2026-09-30 07:49:25 +00:00
Alexander Heldt f3b70efeb0 manatee: Fetch schema from gitea
Point the schema input at its repo instead of a local path, so the
config builds from anywhere.
2026-09-30 07:48:39 +00:00
Alexander Heldt 65f983673c manatee: Add schema
The household weekly plan at schema.ppp.pm: its module, certificate,
DNS record, backup and secrets. The link to puppy-tracker is prepared
but commented out until puppy-tracker with the integration feed is
deployed.
2026-09-30 07:33:57 +00:00
Alexander Heldt a71d622f6c romm: Let the database container own its data directory
tmpfiles re-applied root:root to /var/lib/romm/db on every switch. A
MariaDB running as uid 999 then could not delete tc.log on shutdown,
so the next start took it for a crash and failed recovery with "Bad
magic header in tc log".
2026-09-30 07:33:57 +00:00
Alexander Heldt 1a65d5586d certs: Use lego v5 flag names
lego v5 renamed --dns.propagation-wait to --dns.propagation.wait and
--dns-timeout to --dns.timeout, and exits on the old names, so ordering
or renewing any certificate failed. The six identical cert blocks are
now one definition applied to each domain.
2026-09-30 07:33:57 +00:00
Alexander Heldt 32063a3f14 pinwheel: Disable commit and PR attribution in ai settings 2026-09-30 09:32:21 +02:00
Alexander Heldt cc190a5aa8 pinwheel: Open graphite links in work firefox profile 2026-09-30 09:30:46 +02:00
Alexander Heldt 6a35c4ca4a pinwheel: Add encrypted naviterm config 2026-09-30 08:50:47 +02:00
Alexander Heldt 0f8ac38fa1 pinwheel: Set alex as tailscale operator 2026-09-30 08:42:58 +02:00
Alexander Heldt 1e5dbf7047 pinwheel: Add naviterm config secret, fix syncthing dir ownership 2026-09-29 16:42:47 +02:00
Alexander Heldt 2f016fa5f2 pinwheel: Swap to new machine 2026-09-29 16:41:55 +02:00
Alexander Heldt 4caf5d0bfe pinwheel: Fix swapped ai shell aliases, default to personal account 2026-09-29 15:08:34 +02:00
Alexander Heldt 4508678307 pinwheel: fix ~/code/work ownership, drop custom secret paths
systemd-tmpfiles now ensures ~/code and ~/code/work are owned by
alex, since agenix previously created ~/code/work as root when the
work secrets pointed there directly.

Also drop the custom path= on work-gitconfig, work-github-token, and
work-go-private so they use agenix's default secret path instead of
living under ~/code/work.
2026-09-29 09:20:18 +02:00
Alexander Heldt 1d05a7f45b pinwheel: enable IPU6 MIPI webcam (ov08x40)
Adds hardware.ipu6 for the built-in MIPI camera, plus two overlay
fixes needed for it to actually work on this hardware:

- Pin icamerasrc-ipu6epmtl to the same release tag already used by
  ipu6-camera-bins/ipu6-camera-hal (20250923_ov02e). The version
  nixpkgs currently pulls is an Intel internal IoT/Panther-Lake
  validation build whose device table only lists external USB
  AR0234 test sensors, never the real ov08x40, so the camera never
  gets selected.

- Patch ipu6-camera-hal's hardcoded IVSC/CVS entity name from
  "Intel IVSC CSI" (the out-of-tree ivsc driver's name) to "Intel
  CVS" (the mainlined intel_cvs driver's name). The mismatch broke
  I2C bus address resolution for the sensor, which cascaded into
  wrong stream configs and black/missing video.
2026-09-29 08:25:37 +02:00
Alexander Heldt f93c9e95c4 Update flake inputs 2026-09-25 19:37:29 +02:00
Alexander Heldt 0c2a579d59 flake: Move nh input to nix-community org
viperML/nh was moved to nix-community/nh and the old repo deleted, so
the pinned URL 404s on any re-fetch. The pinned commit still exists in
the new repo, so keep the exact rev and only change the owner.
2026-09-23 12:07:41 +02:00
Alexander Heldt 0584fc9f2c waybar: Pin battery module to BAT0
Bluetooth HID devices (e.g. a mouse) appearing as power_supply
entries in sysfs make waybar's Battery::refreshBatteries() throw
an uncaught exception and abort. Restricting to BAT0 avoids
enumerating those devices.
2026-09-01 10:07:07 +02:00
Alexander Heldt 8104af12fb hyprland: Fix mouse binds, hl.bindm does not exist
Hyprland's lua API only registers hl.bind; there is no separate
hl.bindm. The settings.bindm key rendered as a literal hl.bindm(...)
call, which errored with "attempt to call a nil value" at runtime.
Fold the mouse binds into settings.bind with { mouse = true }, per
the wiki's own example config.
2026-08-26 14:14:07 +02:00