fix inbox-triage service: use home profile PATH so himalaya can find sh for password command

This commit is contained in:
2026-03-13 15:58:17 +00:00
parent 8c84c70152
commit 0d9213e461

View File

@@ -48,6 +48,7 @@
}; };
den.aspects.tahani.homeManager = { den.aspects.tahani.homeManager = {
config,
pkgs, pkgs,
inputs', inputs',
... ...
@@ -76,7 +77,7 @@
Service = { Service = {
Type = "oneshot"; Type = "oneshot";
ExecStart = "${opencode}/bin/opencode run --command inbox-triage --model opencode-go/glm-5"; ExecStart = "${opencode}/bin/opencode run --command inbox-triage --model opencode-go/glm-5";
Environment = "PATH=${pkgs.himalaya}/bin:${opencode}/bin:${pkgs.coreutils}/bin"; Environment = "PATH=${config.home.profileDirectory}/bin:/run/current-system/sw/bin";
}; };
}; };