Skip to content

feat(home): expand claude-code read permissions for nix store and systemd#418

Merged
stackptr merged 1 commit intomainfrom
home/claude-read-permissions
Apr 5, 2026
Merged

feat(home): expand claude-code read permissions for nix store and systemd#418
stackptr merged 1 commit intomainfrom
home/claude-read-permissions

Conversation

@stackptr
Copy link
Copy Markdown
Owner

@stackptr stackptr commented Apr 4, 2026

Summary

  • Add Read(/nix/store/*) permission for inspecting derivations and build outputs
  • Expand systemctl coverage to all read-only subcommands (cat, is-active, is-enabled, is-failed, list-jobs, list-sockets, list-timers, list-unit-files, list-units, show, status)
  • Fix journalctl permission syntax (journalctl:*journalctl *)

Test plan

  • Deploy to a host with rc.development.ai.enable = true and verify permissions apply in ~/.claude/settings.json
  • Confirm Read(/nix/store/*) allows reading store paths without prompting
  • Confirm systemctl status and other read-only subcommands run without prompting

🤖 Generated with Claude Code

…temd

- Allow Read(/nix/store/*) for inspecting derivations and build outputs
- Replace narrow systemctl entries with full read-only coverage (cat,
  is-active, is-enabled, is-failed, list-jobs, list-sockets, list-timers,
  list-unit-files, list-units, show, status)
- Fix journalctl permission syntax (colon → space)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@stackptr stackptr merged commit 6b7d09a into main Apr 5, 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