Code
Pre-requisites
You will need to have the following installed:
Important
We use a Flake-based workflow. You can certainly develop for nixos-facter
without Flakes and leverage
much of what is listed below, but it is left up to the reader to determine how to make that work.
Formatting
We use treefmt and treefmt-nix to format the repository by running nix fmt
from the root directory.
Checks
Running nix flake check
will build all the devshells and Nix packages, as well as check the formatting with treefmt
and any other Flake checks that have been configured.
Documentation
When making changes, it is important to add or update any relevant sections in the documentation within the same pull request.
For more information see the next section.