Files
samfelag/modules
marc 83e6c8c140 add diwan module: packages + scheduled tick via systemd timer
New modules/ai/diwan.nix: pulls in the diwan flake's package, requires
ai.pi and ai.herdr (diwan's real runtime dependencies, not optional
extras), and exposes notesDir (DIWAN_NOTES_DIR, required) / cadence
(systemd OnCalendar, default hourly) / user (default the host's primary
user) as options, wiring a systemd.timer + oneshot systemd.service that
runs 'diwan tick'.

diwan.url is a temporary path: input (see the flake.nix TODO) -- switch
to a real git remote before deploying to any host that isn't this one.

Verified via nix eval against an extended thingvellir config: pi/herdr
get force-enabled, cadence flows through to OnCalendar, notesDir flows
through to the service environment and WorkingDirectory, ExecStart
resolves to the real built diwan package.
2026-11-09 11:24:43 +01:00
..
2025-10-05 15:43:21 +02:00
2026-11-09 11:24:43 +01:00
2026-11-09 11:24:43 +01:00
2026-03-22 18:54:56 +01:00
2023-12-29 17:05:01 +01:00
2026-11-09 11:24:43 +01:00
2026-11-09 11:24:43 +01:00
2022-11-21 11:22:41 +01:00