Unified configuration for systems, packages, modules, shells, templates, and more with Nix Flakes.
Snowfall Lib is built on top of flake-utils-plus.
This is a fork of Snowfall Lib with some additions and changes to fit my personal use case.
Things added/modified:
- allow self in passed
user-inputs - global
specialArgsforhomes - Pass inputs along with
overlays - Pass
isLinux&isDarwinto all modules - Merge
user-moduleswith self definedhostswithinmkFlake. - Add more
optionfunctions to help constructoptionsmore easily. Module Options - Extend
userconfig to accept home options to be merged back withhome-manager. - Allow for multiple
@withinhomesnames =>myhome@email.com@hostname - Update
nixosModules,darwinModules, andhomeModuleson flake to be more easily used within mkFlake.
Add andromeda-lib to your flake.nix:
{
inputs.andromeda-lib.url = "https://flakehub.com/f/milkyway-org/andromeda-lib/*.tar.gz";
outputs = { self, andromeda-lib }: {
# Use in your outputs
};
}See the Snowfall Lib Quickstart guide to start using Andromeda Lib.
Looking for Snowfall Lib documentation? See the Snowfall Lib Reference.