[PR #2] Add agent-first template to flake.nix file #33

Open
opened 2026-02-15 17:04:39 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/openclaw/nix-openclaw/pull/2
Author: @bjtitus
Created: 1/4/2026
Status: 🔄 Open

Base: mainHead: flake-templates


📝 Commits (1)

  • 63541aa Add agent-first template to flake.nix file

📊 Changes

1 file changed (+7 additions, -0 deletions)

View changed files

📝 flake.nix (+7 -0)

📄 Description

The Problem

When running nix flake init -t github:clawdbot/nix-clawdbot#agent-first I received an error:

error: flake 'github:clawdbot/nix-clawdbot' does not provide attribute 'templates.agent-first' or 'agent-first'

The templates need to be added to flake.nix:

templates = {
  agent-first = {
    path = ./templates/agent-first;
    description = "Agent-first template for clawdbot";
  };
};

Testing

You can test the branch directly using this command:

nix flake init -t github:bjtitus/nix-clawdbot/flake-templates#agent-first

Result:

wrote: "/Users/bjtitus/Developer/clawdbot/flake.nix"
wrote: "/Users/bjtitus/Developer/clawdbot/documents/SOUL.md"
wrote: "/Users/bjtitus/Developer/clawdbot/documents/AGENTS.md"
wrote: "/Users/bjtitus/Developer/clawdbot/documents/TOOLS.md"
wrote: "/Users/bjtitus/Developer/clawdbot/documents"

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/openclaw/nix-openclaw/pull/2 **Author:** [@bjtitus](https://github.com/bjtitus) **Created:** 1/4/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `flake-templates` --- ### 📝 Commits (1) - [`63541aa`](https://github.com/openclaw/nix-openclaw/commit/63541aa0322a14557c26969ddd7ee9a872941ca8) Add agent-first template to flake.nix file ### 📊 Changes **1 file changed** (+7 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `flake.nix` (+7 -0) </details> ### 📄 Description ## The Problem When running `nix flake init -t github:clawdbot/nix-clawdbot#agent-first` I received an error: ``` error: flake 'github:clawdbot/nix-clawdbot' does not provide attribute 'templates.agent-first' or 'agent-first' ``` The templates need to be added to `flake.nix`: ``` templates = { agent-first = { path = ./templates/agent-first; description = "Agent-first template for clawdbot"; }; }; ``` ## Testing You can test the branch directly using this command: ``` nix flake init -t github:bjtitus/nix-clawdbot/flake-templates#agent-first ``` Result: ``` wrote: "/Users/bjtitus/Developer/clawdbot/flake.nix" wrote: "/Users/bjtitus/Developer/clawdbot/documents/SOUL.md" wrote: "/Users/bjtitus/Developer/clawdbot/documents/AGENTS.md" wrote: "/Users/bjtitus/Developer/clawdbot/documents/TOOLS.md" wrote: "/Users/bjtitus/Developer/clawdbot/documents" ``` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-15 17:04:39 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: openclaw/nix-openclaw#33