Agentic NixOS Configuration
  • Shell 35.2%
  • Nix 32.4%
  • Python 31.8%
  • JavaScript 0.6%
Find a file
2026-10-17 09:19:25 -07:00
docs Add notetake recorder scripts for live note-taking with an agent 2026-10-09 12:47:23 -07:00
hosts Change lid-close-handler's coffee-mode to hyprctl dispatch dpms off and lid-open-handler's to hyprctl dispatch dpms on 2026-10-17 09:19:25 -07:00
memory WIP include obs ctl script to spwn from qs icon 2026-10-12 10:04:09 -07:00
modules Route shot-menu through host-scaled fuzzel wrapper, fix fade ghost 2026-10-09 13:22:44 -07:00
pkgs framework-13: fix oversized boot cursor with size 48; drop cursor halo 2026-08-17 13:29:31 -07:00
project-memory update 'tools/scripts/surya-ocr-server.py' with dark mode inversion fix 2026-09-06 11:08:31 -07:00
scripts WIP include obs ctl script to spwn from qs icon 2026-10-12 10:04:09 -07:00
secrets add Maceió secrets to network manager 2026-08-09 08:42:51 -03:00
snippets create snippets for shared app and profile configuration files 2026-03-16 14:12:43 -07:00
systemd/user sync-arrive: oneshot user service triggered on graphical login 2026-05-22 13:08:09 -07:00
themes update cursor-colour and prompt-cursor-colour in tmux.nix 2026-04-18 07:54:38 -07:00
tools Change lid-close-handler's coffee-mode to hyprctl dispatch dpms off and lid-open-handler's to hyprctl dispatch dpms on 2026-10-17 09:19:25 -07:00
.gitignore Fix customComponents derivation to satisfy HA type check 2026-07-12 11:24:56 -07:00
.sops.yaml add *.nmconnection to secrets 2026-01-09 16:07:12 -08:00
CONTEXT.md thinkpad: declare SSH over Tailscale; document host-to-host access 2026-10-03 14:58:00 -07:00
flake.lock install R and RStudio 2026-09-01 21:25:43 -07:00
flake.nix bump quickshell to v0.3.0 2026-09-17 21:09:49 -07:00
MEMORY.md memory: keyboard accents/emoji + host-scaled dotfiles; drop stale language-tutor forgejo remote 2026-08-07 17:04:51 -03:00
qwerty update nixpkgs-unstable and note down opencode zen provider errors 2026-07-09 09:12:10 -07:00
README.md Update README image link 2026-06-09 11:36:42 -07:00

AJ's NixOS Configuration

Note

This configuration is specific to my machines, workflows, and preferences. I recommend the repo be an inspiration, reference, or a source of ideas rather than something to copy directly without modification.

image

This repository is both:

  • a NixOS system configuration repo
  • an operational tooling repo for reproducible machine setup, workspace reconstruction, and ongoing maintenance

It is designed to be understandable by both:

  • humans
  • AI agents working within the repo

That means the repo includes not only Nix files, but also:

  • setup and maintenance scripts
  • tracked user systemd units
  • workspace snapshot tooling
  • documentation for machine setup, secrets, and sync workflows

Goals

This repo is designed to support:

  • reproducible NixOS system configuration
  • machine bring-up with explicit trust/bootstrap phases
  • synchronization across multiple laptops
  • an agent-aware filesystem and documentation structure
  • separation between:
    • live AI runtime config
    • live working tree
    • tracked workspace snapshot
    • tracked systemd unit source

Important directories

hosts/

Machine-specific host definitions.

modules/

Reusable NixOS modules.

pkgs/

Custom packages and package-related sources. This includes locally pinned derivations such as pi and openai-codex, which are exposed through the overlay and then installed via modules or package lists.

scripts/

Operational scripts used for:

  • workspace export/bootstrap/sync
  • user systemd unit installation
  • secrets restoration
  • new machine setup
  • local git server setup
  • distfiles sync
  • pinned package update workflows (pi, openai-codex, and the combined orchestrator)

systemd/user/

Tracked source of truth for user systemd units.

tools/workspace/

Tracked skeletal snapshot of the live ~/Repositories working tree.

docs/

Human-readable documentation for installation, bootstrap, secrets, scripts, sync, and Kanata.

secrets/

Encrypted SOPS inputs used by the Nix setup. These are distinct from bootstrap trust material stored in pass.


Live AI runtime config

Path:

  • ~/.config/ai/

This contains:

  • shared AI rules
  • templates
  • skills
  • agent runtime directories

Live working tree

Path:

  • ~/Repositories/

This contains:

  • actual project repos
  • top-level and area-level routing surfaces
  • project-local agent files inside repos

Active user systemd runtime

Path:

  • ~/.config/systemd/user/

Tracked source copies live in:

  • systemd/user/

Dotfiles and personal environment config

This repo does not try to contain every personal environment file.

For UI/shell/workflow layers such as:

  • Hyprland
  • Quickshell
  • other dotfiles-managed personal setup

refer to the separate dotfiles repository and its documentation.

Known reference:

  • https://github.com/aaronjan98/dotfiles
  • Quickshell path reference:
    • https://github.com/aaronjan98/dotfiles/tree/main/.config/quickshell

Documentation

Start with:

  • docs/README.md

Important docs include:

Setup

System

  • docs/SECRETS.md — how pass, SOPS, runtime secret files, and env exports fit together
  • docs/PACKAGES.md — how packages are sourced and installed (stable, unstable, local pkgs/, modules, system vs user)
  • docs/NIXOS-MAINTENANCE.md — quick reference for generations, garbage collection, and boot-entry cleanup
  • docs/ROADMAP.md — deferred issues, planned features, and other durable future work
  • docs/KANATA.md — detailed explanation of the Kanata keybinding system and layers

Operation

  • docs/SCRIPTS.md — operational tooling and scripts (including workspace, bootstrap, and pinned package update workflows)
  • docs/MULTI-MACHINE-SYNC.md — how the system stays consistent across multiple machines)
  • docs/AGENT-WORKFLOW.md — how agents operate across the filesystem (routing, memory, execution model)

AI-agent friendliness

This repo is intentionally documented and structured so that an AI agent can understand:

  • what this repo is for
  • what each script does
  • where the source of truth lives
  • how the machine bootstrap process works
  • how this repo relates to the broader workspace and AI setup

See also:


Summary

This repo is a personal but structured operating center for:

  • NixOS configuration
  • machine bootstrap
  • multi-machine sync
  • workspace reproducibility
  • agent-aware documentation and maintenance