fix(opencode): add git and dev tools to service PATH
The opencode-serve unit ran with systemd's minimal default PATH, so shell commands invoked by the agent (git, make, nix, node, rg, etc.) were not found. Set systemd.services.opencode-serve.path on both sgx and amd to a common dev toolset.
This commit is contained in:
parent
0e723e2da8
commit
441df05d86
2 changed files with 34 additions and 0 deletions
|
|
@ -16,6 +16,23 @@ in
|
|||
after = [ "network.target" ];
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
|
||||
path = with pkgs; [
|
||||
git
|
||||
bash
|
||||
coreutils
|
||||
findutils
|
||||
gnused
|
||||
gnugrep
|
||||
gawk
|
||||
gnumake
|
||||
nix
|
||||
nodejs
|
||||
ripgrep
|
||||
fd
|
||||
curl
|
||||
which
|
||||
];
|
||||
|
||||
environment = {
|
||||
HOME = homeDir;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -16,6 +16,23 @@ in
|
|||
after = [ "network.target" ];
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
|
||||
path = with pkgs; [
|
||||
git
|
||||
bash
|
||||
coreutils
|
||||
findutils
|
||||
gnused
|
||||
gnugrep
|
||||
gawk
|
||||
gnumake
|
||||
nix
|
||||
nodejs
|
||||
ripgrep
|
||||
fd
|
||||
curl
|
||||
which
|
||||
];
|
||||
|
||||
environment = {
|
||||
HOME = homeDir;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue