From 5f26b3fac8788fad2c81b90f59502cd8b59ad9c8 Mon Sep 17 00:00:00 2001 From: Christoph Schmatzler Date: Tue, 10 Mar 2026 10:01:31 +0000 Subject: [PATCH] fix oc --- modules/ai-tools.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/ai-tools.nix b/modules/ai-tools.nix index 2fb0dc0..45823b2 100644 --- a/modules/ai-tools.nix +++ b/modules/ai-tools.nix @@ -1,5 +1,6 @@ { den.aspects.ai-tools.homeManager = { + config, pkgs, inputs', ... @@ -78,6 +79,7 @@ ExecStart = "${inputs'.llm-agents.packages.opencode}/bin/opencode serve --port 18822"; Restart = "on-failure"; RestartSec = 5; + Environment = "PATH=${config.home.profileDirectory}/bin:/run/current-system/sw/bin"; }; Install = { WantedBy = ["default.target"];