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.
Branches
Section titled “Branches”Each branch is a complete, self-contained example:
| Branch | Strategy | Description |
|---|---|---|
| unflake | with-inputs | Default entry point using with-inputs for input resolution |
| npins | npins | Pin inputs with the npins tool |
| builtins | builtins | Use Nix builtins to fetch inputs directly |
| froyo | froyo | Experimental parts like module system |
| falake | falake | Top-level modules via falake |
| flake-parts | flake-parts | Standard flake-parts without flakes! |
Build a NixOS configuration without flakes:
nixos-rebuild build --file . --attr nixosConfigurations.my-laptopOr with plain nix-build:
nix-build --attr nixosConfigurations.my-laptop.config.system.build.toplevelRole in the Ecosystem
Section titled “Role in the Ecosystem”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