Language: Nix · Status: active · Last active: this week · Source on GitHub
nix-home is the home-manager layer. It owns $HOME: the user’s shell, dotfiles, git config, tmux, and VS Code. Every command-line tool belongs here before any project touches a thing.
What it does
- Declares
home.packages: user-level command-line tools that follow$HOME, not the system - Owns
programs.*config: git, zsh, tmux, vim, direnv, ssh, gh - Screens public GitHub text with
gh-guard: it fails closed when the identifier file is missing, matches whole tokens, and resolves repository visibility with the command’s own token. - Screens every
ghcall. Its recursion check compares resolved paths, so no environment variable turns screening off. The narrative judge allows the name of a secret or variable and the workflow step that receives it. It still blocks a value, a scope, or where a secret is stored. - Cross-platform: imported by
nix-darwinon macOS, usable standalone on NixOS or Linux - Pulls AI tooling from
nix-aiwhen AI command-line tools should live in the user PATH
How it fits
Getting started
1
As a nix-darwin import (macOS)
Already wired into
nix-darwin. darwin-rebuild switch picks up both.2
Standalone home-manager (Linux)
nix run home-manager/master -- switch --flake "github:dryvist/nix-home?ref=vN", where vN is the current major tag.3
Iterate
Edit modules, re-run the rebuild. Generations let you roll back if something breaks.
Related repos
nix-darwin
The system layer that imports this on macOS.
nix-ai
AI tooling that this layer composes into the user PATH.
nix-devenv
Per-project dev shells, separate from $HOME.
Source on GitHub
Modules, full README.