Commit Graph
100 Commits
Author SHA1 Message Date
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
Alexander Heldt 3233c88f0f hyprland: Migrate config to Lua, bump back to current
Hyprland 0.56.x dropped the hyprlang (.conf) config backend in favor
of Lua-only config. Switch configType to "lua" and rewrite monitors,
workspace/window rules, binds, env vars, and autostart using the new
hl.* dispatcher API. Un-pin the hyprland flake input (back to current,
following root nixpkgs) now that the config no longer depends on the
old hyprlang backend.

Every module that injects Hyprland keybinds (foot, wezterm, bemenu,
music, light, sound, screenshot, physlock, hyprlock) is converted to
the same Lua bind syntax, since the config is all-or-nothing per
configType. hyprlock's swayidle dpms toggle and the hyprland-monitors
hotplug script's hyprctl dispatch calls are updated to the new
hl.dsp.* expression syntax the same way.

One behavior change: hl.workspace_rule keeps only the last monitor set
per workspace (unlike hyprlang's rule list), so workspaces that used
to declare two candidate monitors now declare one static default;
the hyprland-monitors service still re-dispatches the correct monitor
on startup and hotplug.
2026-08-26 14:08:28 +02:00
Alexander Heldt 50721fa07c flake: Pin hyprland to pre-0.56.0 rev, keep own nixpkgs
Hyprland 0.56.0 dropped the hyprlang (.conf) config backend entirely
in favor of a Lua-only config, breaking the deployed hyprland.conf on
pinwheel. Pin back to 79bc0ca (last hyprlang-supporting build) until
the config is migrated to Lua.

Also drop hyprland's nixpkgs.follows override: building the old
Hyprland rev against the current (newer) root nixpkgs caused a
libstdc++ ABI mismatch between the cached hyprtoolkit binary and a
freshly-compiled hyprland-guiutils.
2026-08-26 12:54:43 +02:00
Alexander Heldt e63f00131d Update flake inputs 2026-08-18 09:39:02 +00:00
Alexander Heldt 6dc2da6792 Update todo flake input 2026-08-18 09:32:39 +00:00
Alexander Heldt 288b50dbe9 flake: Flip todo input to git.ppp.pm gitea host 2026-08-16 14:34:57 +00:00
Alexander Heldt 9b85886e9c manatee: Back up service state (databases etc.) via restic 2026-08-16 14:23:51 +00:00
Alexander Heldt 2fb22dbbdc backwards: Remove syncthing, repoint pinwheel folders to manatee 2026-08-16 13:48:10 +00:00
Alexander Heldt 00d9746dc3 manatee: Sync personal, work and phone-gps, peer phone to org 2026-08-16 13:41:52 +00:00
Alexander Heldt 9cd681b947 backwards: Pin firefox legacy configPath 2026-08-16 14:19:59 +02:00
Alexander Heldt f21d07029f pinwheel: Manage claude settings through nix 2026-08-16 14:19:58 +02:00
Alexander Heldt 8dec65213e tadpole: Use programs.ssh.settings 2026-08-16 14:19:58 +02:00
Alexander Heldt 5c4da51905 backwards: Use programs.ssh.settings 2026-08-16 14:19:58 +02:00
Alexander Heldt fe2c4e06ff pinwheel: Use programs.ssh.settings 2026-08-16 14:19:58 +02:00
Alexander Heldt 8c59b8c542 pinwheel: Pin firefox legacy configPath 2026-08-16 14:19:58 +02:00
Alexander Heldt ad7b890f28 pinwheel: Use beamPackages.erlang 2026-08-16 14:19:58 +02:00
Alexander Heldt 8b3f8fbb2d pinwheel: Enable programs.fuse for sshfs 2026-08-16 14:19:58 +02:00
Alexander Heldt e5aa0c0ec1 backwards/manatee: Move restic backup to mantee 2026-08-16 14:02:33 +02:00
Alexander Heldt f6e611fd96 manatee: Add support for pdfs in komga-reader 2026-08-16 07:41:45 +00:00
Alexander Heldt dd36f91cf5 manatee: add self-hosted todo app
Wire the offline-first todo app (github: local /home/alex/code/todo) into
manatee, following the app-module convention:

- flake input `todo` (local git checkout for now; gitea URL commented) with
  nixpkgs following.
- hosts/manatee/modules/todo: mod.todo option importing the app's NixOS module;
  runs on 127.0.0.1:8091, secureCookies, token from agenix; the host owns the
  nginx vhost (todo.ppp.pm, forceSSL + useACMEHost) and homepage card.
- mod.todo.enable = true.
- certs: todo.ppp.pm DNS-01 cert via hetzner.
- home-assistant DNS updater: add `todo` to the Hetzner subdomain list.
- secrets: todo-token.age (encrypted access token) + recipients in secrets.nix.
2026-08-13 12:36:18 +00:00
Alexander Heldt 03226f0ff0 manatee: Add wl-clipboard 2026-07-26 07:36:05 +00:00
Alexander Heldt ffd2ec7abe manatee: Add claude 2026-07-26 07:35:53 +00:00
Alexander Heldt 54deca1540 Update solo-referee flake input 2026-07-26 07:34:21 +00:00
Alexander Heldt 67aff9c51a manatee: Guard podman containers against crash-looping
Add a start-limit (5 restarts / 5 min) to the romm, romm-db, romm-redis
and homeassistant podman services so a failing container enters a
`failed` state instead of retrying forever. A slow crash-loop (~5s per
attempt) stays under systemd's default 5-starts-per-10s limit, so a
longer window is needed to catch it.
2026-07-26 07:32:16 +00:00
Alexander Heldt f439f5a878 Update puppy-tracker flake input 2026-07-24 15:19:12 +00:00
Alexander Heldt 47d0ff9e57 Update puppy-tracker flake input 2026-07-24 12:31:14 +00:00
Alexander Heldt a3f1ce24e0 manatee: Add solo-referee module 2026-07-24 12:26:33 +00:00
Alexander Heldt 823cb169d1 pinwheel: Set hyprland config variant 2026-07-23 10:56:37 +02:00
Alexander Heldt 1600812a17 pinwheel: set ASKPASS
And cache the git signing key
2026-07-23 10:56:01 +02:00
Alexander Heldt 803d027037 pinwheel: Fix emacs startup
And don't force the async path, wait at least 0.1sec for terminal to
answer with capabilities. Using the async path broke the answer and
inserted 4 spaces in the beginning of the buffer
2026-07-23 10:55:00 +02:00
Alexander Heldt ab509b3262 pinwheel/tadpole: Rename alex.pinwheel-tadpole-ed25519 2026-07-21 09:38:35 +02:00
Alexander Heldt 5b84b97ce3 Update puppy-tracker flake input 2026-07-21 07:20:31 +00:00
Alexander Heldt d5bb60d698 pinwheel: Remove bitwarden gui client 2026-07-21 08:58:55 +02:00
Alexander Heldt cc3a08d5bd Update flake inputs 2026-07-21 08:58:53 +02:00
Alexander Heldt 41e2ce88b8 pinwheel: Add ai module
With work/personal claude configs
2026-07-21 08:58:52 +02:00
Alexander Heldt 42b3dbc5e1 pinwheel: Ensure hyprland monitor detection works on start 2026-07-21 08:58:50 +02:00
Alexander Heldt d507684e82 manatee: Add tmux module 2026-07-17 09:15:46 +00:00
Alexander Heldt 028609ea99 Update puppy-tracker flake input 2026-07-13 06:16:35 +00:00
Alexander Heldt 4681f38952 Update puppy-tracker flake input 2026-07-09 19:51:51 +00:00
Alexander Heldt 6eac767c17 Update puppy-tracker flake input 2026-07-09 20:35:48 +02:00
Alexander Heldt bde46c091d manatee: Add puppy-tracker behind virtual host puppy.ppp.pm 2026-07-09 20:34:43 +02:00
Alexander Heldt 235fcd6893 manatee: Add invite code secret for puppy-tracker 2026-07-09 20:34:12 +02:00
Alexander Heldt 08664a0700 manatee: Add ability to specify public url for homepage card 2026-07-09 20:33:22 +02:00
Alexander Heldt 1c785cfbbc manatee: Add puppy.ppp.pm sub-domain
With cert and ip update
2026-07-09 16:59:13 +00:00
Alexander Heldt a93f39db00 Update puppy-tracker flake input 2026-07-04 09:27:46 +00:00
Alexander Heldt 07cb239535 Update puppy-tracker flake input 2026-07-04 09:21:06 +00:00
Alexander Heldt 18eaf3b69a manatee: Fix komga-reading-stats secret permissions 2026-06-25 14:28:28 +00:00
Alexander Heldt 8801793df2 Update flake inputs 2026-06-25 14:28:15 +00:00
Alexander Heldt 9294b79cf6 Update flake inputs 2026-06-21 18:08:50 +00:00
Alexander Heldt f4b4d0bb10 Update flake inputs 2026-06-21 17:59:25 +00:00
Alexander Heldt 1a41ad66b6 manatee: Add puppy-tracker module 2026-06-21 17:50:51 +00:00
Alexander Heldt 19816d2763 Update flake inputs (and add puppy-tracker) 2026-06-21 17:50:51 +00:00
Alexander Heldt 4ae1d138a7 pinwheel/tadpole: Add ed25519 ssh key 2026-06-17 08:35:07 +02:00
Alexander Heldt 354d965b34 Update whib-frontend flake input 2026-06-03 12:59:11 +02:00
Alexander Heldt 4a4c7555e3 tadpole: Scope authorized_keys_command to alex
The command was hijacking auth for all users, including `gitea`, which
broke `git push` over SSH — `gitea`'s `authorized_keys` (with the
`gitea serv` command restriction) was being bypassed, and sshd would
try to exec the raw `git-receive-pack` instead.

Pass `%u` to the command and short-circuit unless the requested user
is `alex`, so other users fall back to their own `~/.ssh/authorized_keys`.
2026-06-03 12:58:08 +02:00
Alexander Heldt e4bc3932e1 pinwheel: Use opensshs ssh-agent for SSH
As gnomes gcr-ssh-agent stalls RSA signing
2026-06-03 12:58:07 +02:00
Alexander Heldt 24b5ed350a pinwheel: Load direnv ZSH on devshell load 2026-06-03 12:58:05 +02:00
Alexander Heldt a6b41dbe4e pinwheel: Pin tailscale version 2026-06-03 12:58:04 +02:00
Alexander Heldt 5c0916f239 pinwheel: Fix ts LSP package location 2026-06-03 12:58:02 +02:00
Alexander Heldt c52ed524c2 pinwheel: Fix hyprland lock input 2026-06-03 12:58:01 +02:00
Alexander Heldt 3f9a033189 Update whib-backend flake input 2026-06-03 10:25:19 +00:00
Alexander Heldt 8c4d6d130f manatee: Update monitoring in home-assistant
- Add all disks to smartd
- Generate home-assistant config in nix
- Add metrics for all HDDs
2026-05-30 16:54:40 +00:00
Alexander Heldt c83e1d0b8e manatee: Update ssh module
- current naming
- set defaults to off
2026-05-30 16:45:27 +00:00
Alexander Heldt 12774cf31a manatee: Make romm network creation idempotent 2026-05-30 16:44:30 +00:00
Alexander Heldt 9a6957580d Update flake inputs 2026-05-20 09:26:39 +02:00
Alexander Heldt ce30426208 manatee: Add romm module 2026-05-17 13:25:01 +00:00
Alexander Heldt 26bf7ee8c7 manatee: Disable immich 2026-05-17 13:25:01 +00:00
Alexander Heldt f69882663c manatee: Fix permissions for komga-reading-stats 2026-05-17 13:25:01 +00:00
Alexander Heldt 2058475560 pinwheel: Update .ssh/config on build 2026-05-05 12:53:44 +02:00