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
at 5b49190bc79a0cdf8a6b0f8bca561b13a2e1fe30 14 lines 458 B view raw
1{ inputs, den, ... }: 2{ 3 # create an `eg` (example!) namespace. 4 imports = [ (inputs.den.namespace "eg" false) ]; 5 6 # you can have more than one namespace, create yours. 7 # imports = [ (inputs.den.namespace "yours" true) ]; 8 9 # you can also import namespaces from remote flakes. 10 # imports = [ (inputs.den.namespace "ours" inputs.theirs) ]; 11 12 # this line enables den angle brackets syntax in modules. 13 _module.args.__findFile = den.lib.__findFile; 14}