mirror of
https://github.com/srid/nixos-config.git
synced 2026-04-13 15:35:16 +08:00
web-
This commit is contained in:
parent
b089f5e663
commit
ace0f50ace
2 changed files with 0 additions and 27 deletions
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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}" ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue