Extensions for generating configurations with Nixago.
This repository contains extensions for generating configuration files for
common development tools using Nixago. The extensions are designed to ease
the burden of managing multiple template definitions in your local repository.
They each take a simplified input and produce an output that can be directly
passed to the Nixago make
function.
Add the extensions to your flake.
{
inputs = {
# ...
nixpkgs.url = "github:nixos/nixpkgs";
nixago-exts.url = "github:nix-community/nixago-extensions";
nixago-exts.inputs.nixpkgs.follows = "nixpkgs";
# ...
};
}
Call one of the extensions and pass the output to Nixago:
{
result = nixago.lib.make (nixago-exts.prettier {
data = {
proseWrap = "always";
};
});
}
See the docs for information about each extension.
Tests are run with:
nix flake check
Check out the issues for items needing attention or submit your own, and then:
- Fork the repo (https://github.com/nix-community/nixago-extensions/fork)
- Create your feature branch (git checkout -b feature/fooBar)
- Commit your changes (git commit -am 'Add some fooBar')
- Push to the branch (git push origin feature/fooBar)
- Create a new Pull Request