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
8
fork

Configure Feed

Select the types of activity you want to include in your feed.

Update README.md

authored by

Victor Borja and committed by
GitHub
b0cc2ac8 f5c44098

+10 -9
+10 -9
README.md
··· 24 24 25 25 - [Flake optional](templates/noflake). Works with _stable_/_unstable_ Nix and with/without flake-parts. 26 26 27 - - Create [DRY](modules/aspects/provides/unfree.nix) & [`class`-generic](modules/aspects/provides/primary-user.nix) modules. 27 + - Create [DRY](modules/aspects/provides/unfree/unfree.nix) & [`class`-generic](modules/aspects/provides/primary-user.nix) modules. 28 28 29 29 - [Parametric](modules/aspects/provides/define-user.nix) over `host`/`home`/`user`. 30 30 31 - - Context-aware [dependencies](modules/aspects/dependencies.nix): user/host contributions. 31 + - Context-aware [dependencies](modules/aspects/dependencies.nix): user<->host bidirectional contributions. 32 32 33 33 - [Share](templates/example/modules/namespace.nix) aspects across systems & repos. 34 34 35 35 - [Routable](templates/example/modules/aspects/eg/routes.nix) configurations. 36 36 37 - - Custom factories for any Nix `class`. 37 + - Custom [factories](https://github.com/vic/den/blob/f5c44098e4855e07bf5cbcec00509e75ddde4220/templates/ci/modules/homes.nix#L20) for any Nix `class`. 38 38 39 39 - Use `stable`/`unstable` channels per config. 40 40 41 - - Freeform `host`/`user`/`home` [schemas](modules/_types.nix) (no `specialArgs`) with base modules. 41 + - Freeform `host`/`user`/`home` [schemas](modules/_types.nix) (no `specialArgs`) with [base](https://github.com/vic/den/pull/119) modules. 42 42 43 43 - Multi-platform, multi-tenant hosts. 44 44 ··· 48 48 49 49 - Features [tested](templates/ci). 50 50 51 - - Concepts [documented](https://vic.github.io/den). 51 + - REPL [friendly](https://github.com/vic/den/blob/f5c44098e4855e07bf5cbcec00509e75ddde4220/templates/bogus/modules/bug.nix#L34) [debugging](https://den.oeiuwq.com/debugging.html). 52 52 53 53 Need more **batteries**? See [vic/denful](https://github.com/vic/denful). 54 54 ··· 89 89 90 90 ### Den fundamental idea 91 91 92 + > Configurations that can be applied to multiple host/user combinations. 93 + > The [`__functor`](https://den.oeiuwq.com/functor.html) pattern makes aspects parametric. 94 + 92 95 <details> 93 96 94 97 <summary> 95 - 96 - > Configurations that can be applied to multiple host+user combinations. 97 - 98 + Den is about propagating context to produce configs. 98 99 </summary> 99 100 100 101 ```nix ··· 145 146 146 147 ### Code example 147 148 148 - See schema in [`_types.nix`](modules/_types.nix). 149 + Schema based hosts/users/homes entities (see [`_types.nix`](modules/_types.nix)). 149 150 150 151 ```nix 151 152 # modules/hosts.nix