tahani: add himalaya to opencode-inbox-triage service PATH
This commit is contained in:
@@ -1,10 +1,14 @@
|
|||||||
{
|
{
|
||||||
|
config,
|
||||||
pkgs,
|
pkgs,
|
||||||
inputs,
|
inputs,
|
||||||
user,
|
user,
|
||||||
hostname,
|
hostname,
|
||||||
...
|
...
|
||||||
}: {
|
}: let
|
||||||
|
himalayaPackage = config.home-manager.users.${user}.programs.himalaya.package;
|
||||||
|
opencodePackage = inputs.llm-agents.packages.${pkgs.stdenv.hostPlatform.system}.opencode;
|
||||||
|
in {
|
||||||
imports = [
|
imports = [
|
||||||
./adguardhome.nix
|
./adguardhome.nix
|
||||||
./cache.nix
|
./cache.nix
|
||||||
@@ -59,7 +63,8 @@
|
|||||||
};
|
};
|
||||||
Service = {
|
Service = {
|
||||||
Type = "oneshot";
|
Type = "oneshot";
|
||||||
ExecStart = "${inputs.llm-agents.packages.${pkgs.stdenv.hostPlatform.system}.opencode}/bin/opencode run --command inbox-triage";
|
ExecStart = "${opencodePackage}/bin/opencode run --command inbox-triage";
|
||||||
|
Environment = "PATH=${himalayaPackage}/bin:${opencodePackage}/bin";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user