vic/dendritic-flakes
{ "defaultBranch": "main", "description": "Dendritic Nix configuration examples with several flake libraries", "fullName": "vic/dendritic-flakes", "homepage": "", "language": "", "name": "dendritic-flakes", "pushedAt": "2025-12-16T07:08:10Z", "stargazersCount": 0, "updatedAt": "2025-12-16T07:08:13Z", "url": "https://github.com/vic/dendritic-flakes"}Dendritic Nix flakes examples
Section titled “Dendritic Nix flakes examples”This repo serves as example implementation of the Dendritic pattern using different flake libraries/frameworks.
For non-flakes see vic/dendritic-unflake
Motivation
Section titled “Motivation”The purpose of this repo is not to implement the exact same configuration in different frameworks. Nor have a feature-wise comparission nor saying which library is best.
Instead, we are trying to provide Dendritic examples with existing libraries so that people can choose whatever library/framework aligns better with their needs and way of thinking.
Each library/framework might have different features not shared by others, we will try to document them only if they have a direct-impact on the Dendritic pattern.
What is considered Dendritic
Section titled “What is considered Dendritic”For the purpose of this repo, a framework is considered Dendritic if it allows:
- All top-level files are nix modules of the same
class. - Allows each top-level module to configure a cross-cutting concern over several Nix
classes. - Allows factoring top-level modules in a way that serves as a mind-map of usability concerns.
Not necessarily required to be considered Dendritic.
- auto-import of all modules
- create nixosConfigurations or any other configuration.
Examples
Section titled “Examples”The following is the planned list of libs/frameworks that allow to implement the Dendritic pattern.
Feel free to send PR for implementations or framework suggestions. Some will be removed it it is not possible for configurations to be considered Dendritic.
- flake-parts [branch:TODO]
- unify [branch:TODO]
- den [branch:TODO]
- imp [branch:TODO]
- nixy [branch:TODO]
- falake [branch:TODO]
- flakelight [branch:TODO]