Modular, context-aware and aspect-oriented dendritic Nix configurations.
Discussions: https://oeiuwq.zulipchat.com/join/nqp26cd4kngon6mo3ncgnuap/
den.oeiuwq.com
configurations
den
dendritic
nix
aspect
oriented
1{ inputs, den, ... }:
2{
3 # create an `eg` (example!) namespace. (flake exposed)
4 imports = [ (inputs.den.namespace "eg" true) ];
5
6 # you can have more than one namespace (false = not flake exposed)
7 # imports = [ (inputs.den.namespace "my" false) ];
8
9 # you can also merge many namespaces from remote flakes.
10 # keep in mind a namespace is defined only once, so give it an array:
11 # imports = [ (inputs.den.namespace "ours" [inputs.ours inputs.theirs]) ];
12
13 # this line enables den angle brackets syntax in modules.
14 _module.args.__findFile = den.lib.__findFile;
15}