User-level agent configuration - #131
Merged
Merged
Conversation
UnstoppableMango
commented
Jul 27, 2026
Owner
- User-level agent config
- Moving the files around
Contributor
There was a problem hiding this comment.
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.enableinmodules/ai/default.nixand deploy a shared instructions file into~/.claude/and~/.copilot/. - Enable the new
ai.agentConfigoption for botherikanderasmussenuser 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.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.