fix: add uv to hermes-agent service PATH

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.
This commit is contained in:
2026-04-29 16:18:41 +02:00
parent 193b8c0115
commit a615ab61e8
2 changed files with 5 additions and 0 deletions

View File

@@ -70,6 +70,10 @@ in {
'';
};
# Ensure 'uv' is in the hermes-agent service PATH so CronJobs and terminal
# sessions can use 'uv run' for PEP 723 scripts (e.g. garmin-daily.py).
systemd.services.hermes-agent.path = [pkgs.uv];
services.hermes-agent = {
enable = true;
addToSystemPackages = true;