Danilo Reyes 8d62cffc8e
Some checks failed
MCP Tests / mcp-tests (push) Successful in 23s
Weekly NixOS Build & Cache / build-and-cache (push) Failing after 9m18s
linode builds both image and host
2026-02-09 00:13:59 -06:00
2026-02-08 23:33:15 -06:00
2026-02-08 15:15:02 -06:00
2026-01-30 16:31:02 -06:00
2026-02-07 20:44:51 -06:00
2026-02-06 22:58:20 -06:00
2026-01-18 17:20:00 -06:00
2026-02-09 00:13:59 -06:00
2026-02-09 00:13:59 -06:00
2026-02-09 00:13:59 -06:00
2025-05-31 15:21:56 -06:00
2026-02-08 15:15:02 -06:00
2026-02-06 11:07:42 -06:00
2026-02-06 22:58:20 -06:00
2026-02-01 10:05:56 -06:00
2026-02-06 11:07:42 -06:00
2026-02-06 08:22:40 -06:00
2026-02-07 20:44:51 -06:00
2026-02-03 15:17:18 -06:00
2026-02-06 20:09:52 -06:00
2025-12-10 02:00:12 -06:00

JawZ NixOS Configuration

Overview

This repository is a NixOS configuration flake with a local MCP server (`nixos-mcp`) that helps Codex CLI work with the repos documentation and maintenance workflows. The README focuses on how to use the MCP server and how the repo is structured.

MCP Server (nixos-mcp)

What it is

Local-only MCP server that exposes repo documentation helpers over stdio so Codex CLI can read the constitution, playbooks, and reference map without manual navigation.

Tool Catalog

show-constitution
Open docs/constitution.md
list-playbooks
List docs/playbooks/
show-reference
Open docs/reference/index.md
search-docs
Search the docs set
list-mcp-tasks
Show MCP tasks from specs/002-mcp-server/tasks.md
sync-docs
Check tool catalog vs. docs anchors

Quick Start (new users)

# Enter the MCP dev shell (includes codex + nixos-mcp)
nix develop .#mcp

# Run the MCP server (stdio mode)
nixos-mcp

Configure Codex CLI to use a local stdio MCP endpoint and allowlist nixos-mcp in .codex/requirements.toml. The dev shell sets CODEX_HOME.codex= for a repo-local Codex config.

Reference

Detailed invocation notes live in docs/reference/mcp-server.md.

Repository Structure

Docs and Guidance

docs/constitution.md
AI constitution (authoritative rules)
docs/reference/index.md
Reference map
docs/reference/mcp-server.md
MCP server reference
docs/playbooks/
Repeatable workflows
specs/002-mcp-server/
MCP feature plan + tasks

MCP Server

scripts/mcp-server/
Python MCP server implementation, tests, and CLI
modules/dev/mcp.nix
Dev shell and optional global install

Flake Parts

parts/core.nix
Shared library + base composition
parts/hosts.nix
Host definitions
parts/packages.nix
Package outputs
parts/devshells.nix
Dev shells (including MCP)

Flake Inputs (high level)

Core Inputs

  • nixpkgs (25.11) and nixpkgs-small (25.11-small)
  • nixpkgs-unstable (rolling)
  • flake-parts (structure)
  • home-manager (user configs)
  • stylix (theming)
  • sops-nix (secrets integration)
  • nur, nix-gaming, hyprland (extra packages)
  • Content inputs: wallpapers, fonts, qbit_manage
  • Repo inputs: jawz-scripts, prem2resolve, lidarr-mb-gap
  • Check service-specific documentation

Maintenance

Regular Tasks

  • Update flake inputs weekly
  • Review and rotate secrets quarterly
  • Update system packages monthly
  • Clean old generations: sudo nix-collect-garbage -d

Backup Strategy

  • Configuration is version controlled
  • Secrets are encrypted and backed up
  • BTRFS snapshots for data protection

Contributing

Code Style

  • Use consistent formatting
  • Add comments for complex configurations
  • Follow Nix conventions

Pull Requests

  • Test changes on development host first
  • Update documentation as needed
  • Ensure all secrets are properly managed

License

This configuration is for personal use. Please respect the licenses of individual packages and services used.

Contact

For questions or issues, contact danilo.reyes.251@proton.me

Last updated: 2025

Description
No description provided
Readme 3.8 MiB
Languages
Nix 68.2%
Shell 14.4%
Python 13.3%
Emacs Lisp 4.1%