The generator
The generator (src/generator/, written in Rust) turns the declarative
usr/config.yaml configuration into the Nix code consumed by the framework.
From YAML to Nix
Section titled “From YAML to Nix”- Input:
usr/config.yaml— hosts, users, network, services. - Output:
var/generated/—hosts.nix,users.nix,network.nix.
These files are generated: never edit them by hand. To regenerate them after a configuration change:
just generate