跳转到内容

快速开始

尝试 TUI preset:

终端窗口
nix run github:moraxyc/deepseek-harness.nix#presets.tui \
--accept-flake-config

--accept-flake-config 允许 Nix 在需要时使用仓库配置的二进制缓存。

直接从 GitHub 运行或构建各个输出:

终端窗口
nix run github:moraxyc/deepseek-harness.nix#default -- --version
nix build github:moraxyc/deepseek-harness.nix#dsh
nix build github:moraxyc/deepseek-harness.nix#dsh-desktop
nix build github:moraxyc/deepseek-harness.nix#dsh-kernel
nix build github:moraxyc/deepseek-harness.nix#dsh-workspace
nix build github:moraxyc/deepseek-harness.nix#bundles.tui
nix run github:moraxyc/deepseek-harness.nix#presets.tui

主要输出如下:

输出 用途
dsh CLI 包
dsh-desktop 桌面应用
dsh-kernel 不带 profile bundle 的 kernel
dsh-workspace 构建后的 workspace 产物
bundles.* 插件式扩展
presets.* 开箱即用的 bundle 组合

完整列表见 Bundles 和预设目录。

声明仓库为 input,然后使用 inputs.deepseek-harness.* 暴露的包、模块和 overlay:

{
inputs.deepseek-harness.url = "github:moraxyc/deepseek-harness.nix";
}

声明 input 后,继续阅读 NixOS 集成Home Manager 集成高级用法

使用公开缓存:

终端窗口
cachix use deepseek-harness-nix

也可以手动加入 Nix 配置:

{
nix.settings = {
substituters = [ "https://deepseek-harness-nix.cachix.org" ];
trusted-public-keys = [
"deepseek-harness-nix.cachix.org-1:5NrkwLN9veNMhiINtU5ZeV4isXFhFsOwn6Ms7J1M+TA="
];
};
}

本仓库自身的代码与文档以 MIT 许可证授权。该许可证不覆盖上游 deepseek-harness、DeepSeek 或 @deepseek-ai 的材料、名称和商标,也不覆盖第三方组件。

DSH Nix 是独立社区项目,与 DeepSeek 无隶属、合作、授权或背书关系。“DeepSeek Harness”仅用于准确说明本项目为其提供 Nix 打包与集成。

DSH Nix 使用独立的项目名称与视觉呈现,品牌名称与素材的使用遵循上游的 DeepSeek Harness 品牌素材使用规范。许可条款见仓库的 LICENSE