If Flake-File or other denful libs have been of use to you, consider sponsoring.
NOTE: Den no longer relates to the
"Dendritic"name, Den was born to explore the limits of that pattern and has evolved to something much more advanced and flexible, the official dendritic repo no longer considers this Dendritic.
flake-file lets you generate a clean, maintainable flake.nix from Nix module options. Use the real Nix language to define your inputs.
It makes your flake definition base on the Nix module system.
This means
- You can use
lib.mkDefaultor anything you normally do with the Nix language, and have them reflected in flake.nix. - Your inputs follow a typed Input Schema.
- Your outputs can be defined on a typed Output Schema example.
Despite the original flake-oriented name, it NOW also works on stable Nix, non-flakes environments via npins, unflake
|
|
Learn more: Documentation
mv flake.nix flake-file.nix
nix-shell https://github.com/denful/flake-file/archive/main.zip -A flake-file.sh --run bootstrap