~ / rigs / Warpledge / nixos-config

Warpledge/nixos-config

My personal daily-driven NixOS (Linux) config for a desktop and laptop. Niri + DankMaterialShell, themed with Stylix and Catppuccin.

↗ GitHub ★ 0 mit updated 6d ago personal setup Claude CodeCodex
share on X
ARCHETYPE
Pragmatist
A balanced, no-drama setup: some rules, some tools, nothing extreme.
CONTEXT TAX · EVERY TURN
~11.7k tokens
Heavy · median rig: 2.3k · breakdown
GUARDRAILS
2/5
Blocks destructive commands · No YOLO mode · details

Copy this rig

# review before running: this installs third-party code
$ npx degit Warpledge/nixos-config/.claude ./rig-nixos-config  # inspect, then merge into .claude/

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.

$ npx degit Warpledge/nixos-config/modules/home/programs/ai/skills/add-app .claude/skills/add-app
$ npx degit Warpledge/nixos-config/modules/home/programs/ai/skills/android-debloat-redo .claude/skills/android-debloat-redo
$ npx degit Warpledge/nixos-config/modules/home/programs/ai/skills/apparmor-check .claude/skills/apparmor-check
$ npx degit Warpledge/nixos-config/modules/home/programs/ai/skills/commit .claude/skills/commit
$ npx degit Warpledge/nixos-config/modules/home/programs/ai/skills/disable-package .claude/skills/disable-package
$ npx degit Warpledge/nixos-config/modules/home/programs/ai/skills/flake-update .claude/skills/flake-update
$ npx degit Warpledge/nixos-config/modules/home/programs/ai/skills/freetube-sync .claude/skills/freetube-sync
$ npx degit Warpledge/nixos-config/modules/home/programs/ai/skills/hyprland-verify .claude/skills/hyprland-verify
$ npx degit Warpledge/nixos-config/modules/home/programs/ai/skills/moku-bump .claude/skills/moku-bump

Merge into .claude/settings.json (project) or ~/.claude/settings.json (user). Hook commands reference scripts in the source repo — copy those too.

{
  "permissions": {
    "deny": [
      "Bash(nixm rebuild*)",
      "Bash(nixm boot*)",
      "Bash(nixm upgrade*)",
      "Bash(nixm rollback*)",
      "Bash(n rebuild*)",
      "Bash(n boot*)",
      "Bash(n upgrade*)",
      "Bash(n rollback*)",
      "Bash(nixos-rebuild*)",
      "Bash(sudo nixos-rebuild*)",
      "Bash(nh os*)",
      "Bash(sudo nh os*)",
      "Bash(*switch-to-configuration*)",
      "Bash(home-manager switch*)",
      "Bash(grim*)",
      "Bash(niri msg action screenshot*)",
      "Bash(dms ipc call quickCapture screenshot*)"
    ]
  }
}

Skills (9)

Hooks (1)

eventmatcherruns
PostToolUseWrite|Editbash "$CLAUDE_PROJECT_DIR/modules~/ai/hooks/post-edit.sh"

Permissions

deny (17)
Bash(nixm rebuild*)
Bash(nixm boot*)
Bash(nixm upgrade*)
Bash(nixm rollback*)
Bash(n rebuild*)
Bash(n boot*)
Bash(n upgrade*)
Bash(n rollback*)
Bash(nixos-rebuild*)
Bash(sudo nixos-rebuild*)
Bash(nh os*)
Bash(sudo nh os*)
Bash(*switch-to-configuration*)
Bash(home-manager switch*)
Bash(grim*)
Bash(niri msg action screenshot*)
Bash(dms ipc call quickCapture screenshot*)
ask (0)
—
allow (47)
Bash(alejandra:*)
Bash(deadnix --no-lambda-arg)
Bash(deadnix --no-lambda-arg .)
Bash(statix check:*)
Bash(nix flake check)
Bash(nix flake show)
Bash(nix flake metadata)
Bash(nix-store -q:*)
Bash(journalctl:*)
Bash(lspci:*)
Bash(grep:*)
Bash(ls:*)
Bash(which:*)
Bash(readlink:*)
Bash(free:*)
Bash(df:*)
Bash(jq:*)
Bash(jar tf:*)
Read(~/.config/**)
Read(~/.local/share/PrismLauncher/**)
Read(~/Documents/Minecraft_Servers/**)
Read(~/Downloads/**)
WebSearch
WebFetch(domain:github.com)
WebFetch(domain:api.github.com)
WebFetch(domain:raw.githubusercontent.com)
WebFetch(domain:wiki.nixos.org)
WebFetch(domain:nix.dev)
WebFetch(domain:discourse.nixos.org)
WebFetch(domain:search.nixos.org)
WebFetch(domain:mynixos.com)
WebFetch(domain:flakehub.com)
WebFetch(domain:wiki.archlinux.org)
WebFetch(domain:aur.archlinux.org)
WebFetch(domain:www.protondb.com)
WebFetch(domain:pcgamingwiki.com)
WebFetch(domain:steamdb.info)
WebFetch(domain:modrinth.com)
WebFetch(domain:www.curseforge.com)
WebFetch(domain:gtnh.huijiwiki.com)
WebFetch(domain:wiki.gtnewhorizons.com)
WebFetch(domain:danklinux.com)
WebFetch(domain:learnjapanese.moe)
mcp__plugin_hm_nixos__nix
mcp__plugin_hm_nixos__nix_versions
mcp__plugin_hm_context7__resolve-library-id
mcp__plugin_hm_context7__query-docs

Similar rigs

copied ✓