hosts/m3-hermes/configuration.nix: Added uv to environment.systemPackages
Why
CronJobs that run Garmin health data scripts fail because uv run is not available in the hermes-agent service environment. The uv binary exists in the Nix store but is not in the service's PATH.
Test Plan
nixos-rebuild switch --flake .#m3-hermes succeeds
Verify uv is in service PATH: systemctl show hermes-agent -p Environment
Run Garmin CronJob and confirm it executes successfully
## Summary
Adds `pkgs.uv` to the hermes-agent systemd service PATH so that:
- **CronJobs** can run PEP 723 scripts via `uv run` (e.g. `garmin-daily.py`)
- **Terminal sessions** have access to `uv` for Python dependency resolution
## Changes
- `hosts/m3-hermes/services/hermes-agent.nix`: Added `systemd.services.hermes-agent.path = [pkgs.uv];`
- `hosts/m3-hermes/configuration.nix`: Added `uv` to `environment.systemPackages`
## Why
CronJobs that run Garmin health data scripts fail because `uv run` is not available in the hermes-agent service environment. The `uv` binary exists in the Nix store but is not in the service's PATH.
## Test Plan
- [ ] `nixos-rebuild switch --flake .#m3-hermes` succeeds
- [ ] Verify `uv` is in service PATH: `systemctl show hermes-agent -p Environment`
- [ ] Run Garmin CronJob and confirm it executes successfully
Add pkgs.uv to systemd.services.hermes-agent.path so that CronJobs
and terminal sessions can execute PEP 723 scripts via 'uv run'
(e.g. garmin-daily.py for Garmin Connect health data).
Also adds uv to environment.systemPackages for general availability.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
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