Skip to content

dendritic-unflake

dendritic-unflake demonstrates that Aspect oriented Nix is not tied to flakes. It provides multiple example setups (one per branch) showing how to use Aspect oriented patterns with different Nix input strategies.

Each branch is a complete, self-contained example:

BranchStrategyDescription
unflakewith-inputsDefault entry point using with-inputs for input resolution
npinsnpinsPin inputs with the npins tool
builtinsbuiltinsUse Nix builtins to fetch inputs directly
froyofroyoExperimental parts like module system
falakefalakeTop-level modules via falake
flake-partsflake-partsStandard flake-parts without flakes!

Build a NixOS configuration without flakes:

nixos-rebuild build --file . --attr nixosConfigurations.my-laptop

Or with plain nix-build:

nix-build --attr nixosConfigurations.my-laptop.config.system.build.toplevel

dendritic-unflake proves that Aspect oriented patterns are flake agnostic. It ties together with-inputs, flake-file, and flake-aspects to show that composable configurations work regardless of your input strategy.

This is important because the Nix community is not settled on flakes even it was discovered with flakes+flake-parts. Aspect oriented works for everyone.


Source Code Discourse post Support this project