
Nest: Using CSS selectors to configure Nix
github:denful/nest. From their readme:
>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.
So after replying at this other reddit post, I ended up poking around the denful umbrella projects and Nest really caught my eye. I don’t have any connection to the library, I’m just a fan of the author’s other libraries and thought it was worth sharing because the idea feels fresh. Basically infra entities like users, hosts, and other config targets get expressed as a DOM tree, and then CSS selectors are used to apply Dendritic configs to them. Super neat concept and I love how different it feels compared to the usual approaches.