feat(herdr): bump to v0.7.5, add omp activation hook and collie module #23
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/herdr-ecosystem"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
herdr version bump, omp integration, the new Collie phone web UI module, and a dendritic-pattern fix for how the herdr package is shared.
Changes
pkgs/herdr.nix+docs/maintenance.mdBump herdr v0.7.3 → v0.7.5. Update the pinned-version note in maintenance docs.
modules/apps/herdr.nix(new) — dendritic fixPreviously
modules/system/packages.nixdidpkgs.callPackage ../../pkgs/herdr.nix {}, and this PR's first draft added a second identicalcallPackageinomp.nix— two instantiations of the same derivation, with the relative path hardcoded twice. The dendritic pattern shares values through the top-level config rather than re-deriving per consumer.This file now owns the herdr feature end to end: it registers a nixpkgs overlay exposing
pkgs.herdrand installs it system-wide. home-manager runs withuseGlobalPkgs, so hm modules resolve the same instantiation.pkgs/herdr.nixstays a plaincallPackagefile outsidemodules/, soimport-treecorrectly skips it — the documented exception for callPackage files.Verified single instantiation:
Same store path on both sides.
modules/system/packages.nixDrop the
callPackageline; herdr now comes from its own module.modules/apps/omp.nixRegister omp's agent-state hook via
home.activation.herdrOmpIntegrationso herdr surfaces working/blocked/done. Uses the absolutepkgs.herdrstore path rather than relying onPATH, which isn't reliably populated during activation. Also restores the_:module-arg head to match repo convention (every other module is_: {or{inputs, ...}: {).modules/apps/collie.nix(new)Add Collie — the herdr phone web UI (github.com/AltanS/collie). Implemented as a live git checkout +
bun buildat runtime rather than a Nix derivation: Collie self-updates viagit pulland writes mutable state (~/.config/collie/.env,audit.log), both of which a derivation would fight. Nix owns only the supervision, by absolute bun store-path, so bun never enters the profile.Verification
Both modules/system/packages.nix and modules/apps/omp.nix were each doing pkgs.callPackage ../../pkgs/herdr.nix {}, instantiating the derivation twice and hardcoding the relative path in two places. Per the dendritic pattern, values are shared through the top-level config rather than re-derived per consumer. - modules/apps/herdr.nix (new): owns the herdr feature; registers a nixpkgs overlay exposing pkgs.herdr and installs it system-wide. home-manager runs with useGlobalPkgs so hm modules see the same instantiation. - modules/system/packages.nix: drop the callPackage line - modules/apps/omp.nix: read pkgs.herdr; restore the '_:' module-arg head to match repo convention Move flake.lock out of this branch: the bump requires the noctalia import removal to evaluate, so those two ship together in their own PR.