Commit Graph
74 Commits
Author SHA1 Message Date
Alexander Heldt bcfd1f3602 manatee: Run the lbsync Navidrome plugin 2026-11-08 15:49:02 +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 4026b7e92e manatee: Wait for ZFS mounts before starting sandboxed /mnt/media services 2026-11-02 10:55:35 +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 6542e1b90c pinwheel/manatee: Drop tmux r reload binding in favour of R from tmux-sensible 2026-10-29 08:45:28 +01: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 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 12d42c9993 manatee: Remove stale restic locks before each backup 2026-10-15 13:38:44 +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 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 bb390db2d9 manatee: Disable atuin open registration 2026-10-01 08:56:55 +02:00
Alexander Heldt 43c77b7673 manatee: Add self-hosted atuin sync server 2026-10-01 08:34:32 +02: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 9b85886e9c manatee: Back up service state (databases etc.) via restic 2026-08-16 14:23:51 +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 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 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 a3f1ce24e0 manatee: Add solo-referee module 2026-07-24 12:26:33 +00:00
Alexander Heldt d507684e82 manatee: Add tmux module 2026-07-17 09:15:46 +00:00
Alexander Heldt bde46c091d manatee: Add puppy-tracker behind virtual host puppy.ppp.pm 2026-07-09 20:34:43 +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 18eaf3b69a manatee: Fix komga-reading-stats secret permissions 2026-06-25 14:28:28 +00:00
Alexander Heldt 1a41ad66b6 manatee: Add puppy-tracker module 2026-06-21 17:50:51 +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 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 837b58eea4 manatee: Set correct user on komga-reading-stats secrets 2026-03-22 19:10:46 +01:00
Alexander Heldt 5d9f97024d manatee: Fix komga-reading-stats secret permissions 2026-03-22 19:01:49 +01:00
Alexander Heldt d36fc3914b manatee: Add komga-reading-stats 2026-03-22 18:48:51 +01:00
Alexander Heldt 7c3a5c675d manatee: Remove calibre-web module 2026-03-07 12:10:30 +00:00
Alexander Heldt 3e386d92b5 manatee: nixfmt 2026-03-07 12:08:01 +00:00
Alexander Heldt 962ecf62dd manatee: Add komga-bookmanager service 2026-03-07 12:07:05 +00:00
Alexander Heldt 32e0d3ffe9 Update komga-comictracker input 2026-03-07 12:05:07 +00:00
Alexander Heldt 9dc92198e9 manatee: Expose komga publicly via komga.ppp.pm 2026-03-02 21:41:41 +01:00
Alexander Heldt 64d0e9b85b manatee: Add services homepage with auto-discovery
Add a homepage module that generates a static landing page served on
port 9999 via nginx. Each service module registers itself via the shared
mod.homepage.services option, so enabling a module automatically adds
it to the page.
2026-02-28 22:03:12 +01:00
Alexander Heldt 1460d63c0c manatee: Add web based reader for komga 2026-02-17 20:25:11 +00:00
Alexander Heldt c920dfde15 manatee: Add bluetooth reset handling 2026-02-15 15:33:02 +01:00
Alexander Heldt dd8269a40e manatee: Update komga-comictracker to not use notifications 2026-02-14 11:38:44 +01:00
Alexander Heldt 52932181be manatee: Fix komga-comicbooktracker credentials file permissions 2026-02-14 11:18:51 +01:00
Alexander Heldt b6e7008a53 manatee: Add komga-comicbooktracker 2026-02-14 10:54:01 +01:00
Alexander Heldt d2c717aeef manatee: Add OpenCL hardware support
To improve jellyfin transcoding
2026-02-08 19:12:51 +00:00