Appearance
Getting Started
Install
bash
nix flake init -t github:cuskiy/nixy#minimalThis creates a working NixOS configuration with three files:
flake.nix— wires nixy intonixosConfigurationsbase.nix— declares schema options and abasetraitmy-nixos.nix— defines a node that uses thebasetrait
Build
bash
nix build .#nixosConfigurations.my-nixos.config.system.build.toplevelHow It Works
nixy.eval { ... } scans your directory for .nix files, collects all schema declarations, traits, and node definitions, then produces one module per node.
your-config/
├── flake.nix # calls nixy.eval
├── base.nix # schema + traits
├── ssh.nix # schema + traits
└── my-nixos.nix # node definitionEach file can contribute schema, traits, and nodes. Everything is merged automatically.