This commit is contained in:
Sridhar Ratnakumar 2026-03-12 15:15:09 -04:00
parent b089f5e663
commit ace0f50ace
2 changed files with 0 additions and 27 deletions

View file

@ -20,7 +20,6 @@ in
"${homeMod}/work/juspay.nix"
"${homeMod}/services/vira.nix"
"${homeMod}/opencode"
"${homeMod}/opencode/web.nix"
# "${homeMod}/services/dropbox.nix"
# "${homeMod}/services/obsidian.nix"

View file

@ -1,26 +0,0 @@
{ config, lib, pkgs, flake, ... }:
let
inherit (flake) inputs;
pathPackages = [
pkgs.git
pkgs.gh
pkgs.nix
inputs.vira.packages.${pkgs.stdenv.hostPlatform.system}.default
pkgs.coreutils
pkgs.gnugrep
pkgs.gnused
pkgs.findutils
pkgs.which
];
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}" ];
};
}