Psst: I can help write Nix at your company. Get in touch.
Hey, you made it! Welcome. 🤓
This is my personal NixOS configuration, which I use on my personal computers and servers. It's a work in progress, but it's already pretty cool. I'm sharing it here in case it's useful to others.
hosts/<host>
: per‑host configs (NixOS and macOS).modules/
: reusable modules (services/
,programs/
,roles/
,common/
).flake.nix
: flake inputs/outputs;Makefile
: convenience targets.
- Enable direnv with
direnv allow
(see.envrc
). - Enter dev shell:
nix develop
(providesnixpkgs-fmt
,statix
,deadnix
,nil
,pre-commit
). - Common commands:
make fmt
,make lint
(non-bloquant),make lint-ci
(strict),make build
,make check
.
xcode-select --install
sh <(curl -L https://nixos.org/nix/install) --daemon
make switch
nix flake update