~ / rigs / ryan4yin / nix-config

ryan4yin/nix-config

❄️ My nix config for both desktops(NixOS+macOS) and homelab servers(NixOS).

↗ GitHub ★ 2,077 mit updated 2mo ago personal setup Codex
field: Cloud & infrastructure workflow: Docs
stack: NixPython
share on X
ARCHETYPE
Skill Collector
Ten-plus skills loaded on demand. A procedural-knowledge library.
CONTEXT TAX · EVERY TURN
~4.9k tokens
Moderate · median rig: 2.3k · breakdown
GUARDRAILS
1/5
No YOLO mode · details
Quality 18/100 Guardrails v2

Copy this rig

# review before running: this installs third-party code
$ claude mcp add grafana -e GRAFANA_URL=YOUR_GRAFANA_URL -- mcp-grafana --disable-write
$ npx degit ryan4yin/nix-config/agents ./rig-nix-config/agents

MCP servers are added to Claude Code at local scope; env vars are shown as YOUR_… placeholders — we never store values. Files are fetched with degit into a separate folder so you can review before merging.

$ claude mcp add grafana -e GRAFANA_URL=YOUR_GRAFANA_URL -- mcp-grafana --disable-write
$ npx degit ryan4yin/nix-config/.agents/skills/nix-config-debug .claude/skills/nix-config-debug
$ npx degit ryan4yin/nix-config/.agents/skills/nix-config-desktop .claude/skills/nix-config-desktop
$ npx degit ryan4yin/nix-config/.agents/skills/nix-config-new-host .claude/skills/nix-config-new-host
$ npx degit ryan4yin/nix-config/.agents/skills/nix-config-secrets .claude/skills/nix-config-secrets
$ npx degit ryan4yin/nix-config/.agents/skills/nix-config-umu-game .claude/skills/nix-config-umu-game
$ npx degit ryan4yin/nix-config/.agents/skills/nix-config-update .claude/skills/nix-config-update
$ npx degit ryan4yin/nix-config/.agents/skills/nixpkgs-patched .claude/skills/nixpkgs-patched
$ npx degit ryan4yin/nix-config/.agents/skills/nixpkgs-review .claude/skills/nixpkgs-review
$ npx degit ryan4yin/nix-config/agents/skills/find-docs .claude/skills/find-docs
$ npx degit ryan4yin/nix-config/agents/skills/git-delivery .claude/skills/git-delivery

This rig commits no guardrails. Here is the community baseline instead — the deny/ask rules most often found across all 17.0k rigs:

{
  "permissions": {
    "deny": [
      "Read(./.env)",
      "Read(./.env.*)",
      "Read(**/.env)",
      "Read(~/.ssh/**)",
      "Bash(git push --force:*)",
      "Read(**/*.pem)",
      "Read(.env)",
      "Read(~/.aws/**)",
      "Read(**/*.key)",
      "Read(**/.env.*)",
      "Bash(git push --force*)",
      "Bash(rm -rf *)",
      "Bash(rm -rf:*)",
      "Bash(sudo *)",
      "Bash(sudo:*)",
      "Bash(rm -rf /)",
      "Bash(git push -f:*)",
      "Read(.env.*)",
      "Read(./secrets/**)",
      "Bash(git reset --hard*)"
    ],
    "ask": [
      "Bash(git push:*)",
      "Bash(git push *)",
      "Bash(gh pr merge *)",
      "Bash(git commit:*)",
      "Bash(rm *)",
      "Bash(gh pr merge:*)",
      "Bash(npm publish:*)",
      "Bash(git reset --hard:*)",
      "Bash(git clean *)",
      "Bash(git rebase *)"
    ]
  }
}

MCP servers (1)

serversourceest. tokens
mcp-grafana · "grafana"
env: GRAFANA_URL
binary 2.5k

Skills (10)

Similar rigs

copied ✓