This repository houses my NixOS and macOS (nix-darwin) configurations. The system loader lives in
lib/loadSystems.nix and lib/mkSystem.nix, with per-host configs under systems/ and user config under
home-manager/.
systems/base/: shared defaults for Linux and Darwinsystems/<hostname>/: per-host overrides (current host:m4mbp)home-manager/<user>/: shared user config and per-host overlaysmodules/: reusable Nix modulesoverlays/+pkgs/: custom overlays/packages
mise run lint: rundeadnix,nixpkgs-fmt, andstatix(same as pre-commit)mise run check: run lint +nix flake check --all-systems, then build the current hostmise run(ormise run default): build and switch the current host (Darwin usesdarwin-rebuild switch)
Install hooks with:
pre-commit install and pre-commit install --hook-type prepare-commit-msg.
Note: pre-commit install only installs the default pre-commit hook; the
prepare-commit-msg hook must be installed explicitly.
You can run all hooks manually with pre-commit run --all-files.
m4mbp— Apple Silicon MacBook Pro running nix-darwin
The repo remains multi-system capable (aarch64/x86_64, Linux/Darwin) for future hosts.