Snowfall Lib is a library that makes it easy to manage your Nix flake by imposing an
opinionated file structure.
Create a flake if you don’t have one already
Snowfall Lib generates your Nix flake outputs for you. If you don’t already have a
Nix flake, you can create one using the following command.
Add Snowfall Lib to your flake
To start using Snowfall Lib, import the library in your Nix flake by adding it to your
flake’s inputs.
Create your flake outputs
Configure Snowfall Lib
Snowfall Lib offers some customization options. The following example details a few
popular settings. For a full list see Snowfall Lib Reference.
Now that Snowfall Lib is set up in your Flake, you can begin adding Nix files!
From here, you can follow one of the other guides for Snowfall Lib like
creating packages, creating overlays,
or creating modules. You can also look at the reference
documentation for Snowfall Lib for more technical information.