fix: add uv to hermes-agent service PATH #7
Reference in New Issue
Block a user
Delete Branch "fix/hermes-agent-uv-path"
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
Adds
pkgs.uvto the hermes-agent systemd service PATH so that:uv run(e.g.garmin-daily.py)uvfor Python dependency resolutionChanges
hosts/m3-hermes/services/hermes-agent.nix: Addedsystemd.services.hermes-agent.path = [pkgs.uv];hosts/m3-hermes/configuration.nix: Addeduvtoenvironment.systemPackagesWhy
CronJobs that run Garmin health data scripts fail because
uv runis not available in the hermes-agent service environment. Theuvbinary exists in the Nix store but is not in the service's PATH.Test Plan
nixos-rebuild switch --flake .#m3-hermessucceedsuvis in service PATH:systemctl show hermes-agent -p Environment