{
  "manifest_version": "1.0.0",
  "template": {
    "id": "e47a8233-2345-482b-9386-b582081b4af9",
    "slug": "deepseek-harness-on-nixos-or-just-update",
    "name": "DeepSeek Harness on NixOS | (Just Updated) Agent With All of Nixpkgs",
    "description": "DeepSeek's coding agent on nix. Password-gated, any package it needs.",
    "url": "https://railway.com/deploy/deepseek-harness-on-nixos-or-just-update",
    "upstream": {
      "image": "ghcr.io/bon5co/deepseek-harness-nixos-railway:0.1.0-rc.6"
    }
  },
  "services": [
    {
      "name": "deepseek-harness-nixos",
      "source": {
        "image": "ghcr.io/bon5co/deepseek-harness-nixos-railway:0.1.0-rc.6"
      },
      "needs_volume": true,
      "volume_mount_path": "/home/dsh",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "DSH_PASSWORD",
      "service": "deepseek-harness-nixos",
      "description": "Provide a value for DSH_PASSWORD.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "deepseek-harness-on-nixos-or-just-update"
      }
    },
    "cli": "railway deploy --template deepseek-harness-on-nixos-or-just-update",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "e47a8233-2345-482b-9386-b582081b4af9",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "8b677cb7-b0e6-46c6-b960-e43b748f5d42": {
                  "icon": null,
                  "name": "deepseek-harness-nixos",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/healthz",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/bon5co/deepseek-harness-nixos-railway:0.1.0-rc.6"
                  },
                  "variables": {
                    "DSH_PASSWORD": {
                      "isOptional": false,
                      "defaultValue": "{{DSH_PASSWORD}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  },
                  "volumeMounts": {
                    "8b677cb7-b0e6-46c6-b960-e43b748f5d42": {
                      "mountPath": "/home/dsh"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "deepseek-harness-nixos",
      "method": "GET",
      "path": "/healthz",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-05T17:54:19.086Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-04T12:56:40.254Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_48bf6ebc4a7e48d7902a",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 37,
    "typical_build_seconds": 0,
    "typical_start_seconds": 20,
    "slowest_service": "deepseek-harness-nixos"
  }
}
