Skip to content

feat(home): add nix-eval-flake wrapper script - #324

Merged
stackptr merged 2 commits into
mainfrom
home/nix-eval-flake
Mar 7, 2026
Merged

stackptr merged 2 commits into
mainfrom
home/nix-eval-flake

Conversation

@stackptr

@stackptr stackptr commented Mar 7, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Adds nix-eval-flake shell wrapper that runs nix eval ".#$1", avoiding the # symbol that triggers Claude Code's shell-quote confirmation prompt
  • Adds nix-eval-flake to Claude Code's auto-allow permissions

Test plan

  • Verify nix-eval-flake nixosConfigurations evaluates correctly
  • Verify Claude Code can run the command without a confirmation prompt

🤖 Generated with Claude Code

stackptr and others added 2 commits March 7, 2026 09:04
Adds a shell wrapper that evaluates nix flake outputs without using the
`#` symbol directly, avoiding Claude Code's shell-quote confirmation
prompt. Also adds the command to Claude Code's auto-allow permissions.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@stackptr
stackptr enabled auto-merge (squash) March 7, 2026 17:09
@stackptr
stackptr merged commit 3fc536c into main Mar 7, 2026
4 checks passed
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.

1 participant