Skip to content

yen

Nix configurations you can prove things about, before you deploy.

Yen is a verified language for Nix configurations. You write plain Nix data and behavior, and Yen checks it and answers: the NixOS, nix-darwin and home-manager systems to build, the errors, the graph of who gives what to whom, and whether your rules hold. The overview explains the four core words, and the glossary lists every term.

Behavior lands where you say

An aspect is active where its predicate holds. Its elements go to the nearest scope that collects them, in a sink.

Questions have answers

Graphs, Datalog with a well-founded semantics, and µKanren with constraints. All pure Nix.

Safe for agents

A change is staged and checked against your rules across machines, and if it breaks one it’s refused with the reason. An MCP server answers agents.


ContributeCommunitySponsor