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
specialArgs
forhomes
- Pass inputs along with
overlays
- Pass
isLinux
&isDarwin
to all modules - Merge
user-modules
with self definedhosts
withinmkFlake
. - Add more
option
functions to help constructoptions
more easily. Module Options - Extend
user
config to accept home options to be merged back withhome-manager
. - Allow for multiple
@
withinhomes
names =>[email protected]@hostname
- Update
nixosModules
,darwinModules
, andhomeModules
on 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.