diff --git a/modules/home/opencode/web.nix b/modules/home/opencode/web.nix index e7bbcb6..33a802a 100644 --- a/modules/home/opencode/web.nix +++ b/modules/home/opencode/web.nix @@ -1,9 +1,21 @@ { config, lib, pkgs, ... }: +let + pathPackages = [ + pkgs.git + pkgs.coreutils + pkgs.gnugrep + pkgs.gnused + pkgs.findutils + ]; +in { programs.opencode.web = { enable = true; # Bind to Tailscale IP only extraArgs = [ "--hostname" "100.122.32.106" "--port" "4096" ]; }; + systemd.user.services.opencode-web.Service = { + Environment = [ "PATH=${lib.makeBinPath pathPackages}" ]; + }; }