Skip to content

User-level agent configuration - #131

Merged
UnstoppableMango merged 4 commits into
mainfrom
user-agent-files
Jul 27, 2026
Merged

User-level agent configuration#131
UnstoppableMango merged 4 commits into
mainfrom
user-agent-files

Conversation

@UnstoppableMango

Copy link
Copy Markdown
Owner
  • User-level agent config
  • Moving the files around

Copilot AI review requested due to automatic review settings July 27, 2026 19:17

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a user-level “agent config” feature to the ai Home Manager module, so shared AI-agent instruction files can be installed into a user’s home directory across machines/users.

Changes:

  • Introduce dotfiles.ai.agentConfig.enable in modules/ai/default.nix and deploy a shared instructions file into ~/.claude/ and ~/.copilot/.
  • Enable the new ai.agentConfig option for both erik and erasmussen user configurations.
  • Add module-local documentation clarifying the scope of the deployed instructions vs repo-scoped AGENTS.md.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
users/erik/default.nix Enables the new dotfiles.ai.agentConfig option for Erik’s Home Manager config.
users/erasmussen/default.nix Enables the new dotfiles.ai.agentConfig option for Erasmussen’s Home Manager config.
modules/ai/default.nix Adds an agentConfig sub-option under dotfiles.ai and installs user-level agent instruction files.
modules/ai/AGENTS.md Documents the difference between repo-scoped AGENTS.md and deployed user-level agent instructions.
modules/ai/agent-instructions.md Provides the shared user-level agent instruction content to be deployed into home directories.
Comments suppressed due to low confidence (1)

modules/ai/AGENTS.md:10

  • Same Markdown issue here: the second sentence isn’t indented, so it will likely render outside the bullet item. Indent the continuation line to keep the list formatting correct.
- This file, `AGENTS.md`, is not deployed anywhere.
It documents this specific directory for agents working in this repo, same as any other `AGENTS.md` in the tree.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread modules/ai/default.nix
Comment thread modules/ai/AGENTS.md Outdated
Comment thread modules/ai/agent-instructions.md Outdated
UnstoppableMango and others added 2 commits July 27, 2026 14:21
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@UnstoppableMango
UnstoppableMango merged commit 2d9888d into main Jul 27, 2026
2 checks passed
@UnstoppableMango
UnstoppableMango deleted the user-agent-files branch July 27, 2026 19:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants