Skip to content

Nest

CSS-rule driven Nix Configurations. Describe infra as DOM, configure it across multiple Nix domains.

Nest is a declarative framework for multi-node NixOS infrastructure. It applies the CSS mental model to system configuration: nodes are entities in a DOM tree, traits are classes, and rules map selectors to configuration.

Tree

Infrastructure as a hierarchy. Hosts, users, services as nodes. Trees share attributes down, Nodes contribute config up.

Traits

Mark nodes with what they are. Traits compose. web.needs = [server] chains automatically.

Rules

CSS selectors that apply config. Match by trait, attribute, hierarchy, or relationship.

Any Nix config system

NixOS, HomeManager, neovim, Terraform. Same model everywhere.


Contribute Community Sponsor