Since my testimonial lacks a repo link, this PR adds a link to my system configuration repository, both next to the testimonial and as an example in the README. If either does not suit you, feel free to say.
README.md
README.md
This file has not been changed.
+8
-8
docs/src/content/docs/index.mdx
+8
-8
docs/src/content/docs/index.mdx
···
37
37
> -- `@adda` - Very early Den adopter after using Dendritic flake-parts and Unify. [\[repo\]](https://codeberg.org/Adda/nixos-config)
38
38
39
39
40
-
> I'm super impressed with den so far, I'm excited to try out some new patterns that Unify couldn't easily do.
40
+
> I'm super impressed with den so far, I'm excited to try out some new patterns that Unify couldn't easily do.
41
41
> -- `@quasigod` - Unify dendritic-framework author on adopting Den. [\[repo\]](https://tangled.org/quasigod.xyz/nixconfig)
42
42
43
43
44
-
> Massive work you did here!
44
+
> Massive work you did here!
45
45
> -- `@drupol` - Author of "Flipping the Configuration Matrix" Dendritic blog post. [\[repo\]](https://github.com/drupol/infra/tree/push-woqtkxkpstro)
46
46
47
47
48
-
> Thanks for the awesome library and the support for non-flakes... it’s positively brilliant!. I really hope this gets wider adoption.
48
+
> Thanks for the awesome library and the support for non-flakes... it’s positively brilliant!. I really hope this gets wider adoption.
49
49
> -- `@vczf` - At den matrix channel.
50
50
51
51
52
52
## What is Den
53
53
54
54
55
-
At its core, Den is a **library** for activating Nix configuration aspects via context transformations.
55
+
At its core, Den is a **library** for activating Nix configuration aspects via context transformations.
56
56
57
57
On top of the library, Den provides a **framework** for the common case
58
-
of NixOS/nix-Darwin/Home-Manager.
58
+
of NixOS/nix-Darwin/Home-Manager.
59
59
60
60
Den embraces your Nix choices and does not impose itself. All parts of Den are optional and replaceable.
61
61
···
116
116
</Card>
117
117
<Card title="Sharable Aspects" icon="star">
118
118
[Namespaces](/guides/namespaces/) let you publish and consume aspect
119
-
libraries across flakes or non-flakes.
119
+
libraries across flakes or non-flakes.
120
120
121
121
Den is social, trying to bring re-usability across stable and unstable Nix boundaries.
122
122
No Flakes mandated.
···
141
141
142
142
## Den as a _framework_.
143
143
144
-
Built on top of `den.lib`, Den provides a framework with ready-made facilities for
144
+
Built on top of `den.lib`, Den provides a framework with ready-made facilities for
145
145
NixOS/nix-Darwin/homes configurations.
146
146
147
147
```mermaid
···
157
157
1. **Schema** -- `den.hosts` and `den.homes` declare machines, users, and their properties with `den.base` modules and extensible freeform types.
158
158
2. **Aspects** -- `den.aspects.*` bundles per-class configs (`nixos`, `darwin`, `homeManager`, or any custom class) with `.includes` and `.provides` forming a DAG.
159
159
3. **Context pipeline** -- `den.ctx` transforms schema entries into context pairs (`{host}`, `{host, user}`, `{home}`), walking `into.*` transitions for derived contexts like `hm-host`, `hm-user`, `wsl-host` or any other custom context stage.
160
-
4. **Resolution** -- Parametric dispatch via `__functor` argument introspection. Functions receive only contexts whose shape matches their parameters.
160
+
4. **Resolution** -- Parametric dispatch via `__functor` argument introspection. Functions receive only contexts whose shape matches their parameters.
161
161
5. **Output** -- Each host/home is instantiated via `nixpkgs.lib.nixosSystem`, `darwin.lib.darwinSystem`, or `home-manager.lib.homeManagerConfiguration`.
162
162
</Steps>
163
163
History
4 rounds
0 comments
adda.tngl.sh
submitted
#3
1 commit
expand
collapse
70cfce7d
docs: Add links to Adda's repo using Den as an example
merge conflicts detected
expand
collapse
expand
collapse
- docs/src/content/docs/index.mdx:33
expand 0 comments
adda.tngl.sh
submitted
#2
1 commit
expand
collapse
70c7b979
docs: Add links to Adda's repo using Den as an example
expand 0 comments
adda.tngl.sh
submitted
#1
1 commit
expand
collapse
cbc515fb
docs: Add links to Adda's repo using Den as an example
expand 0 comments
adda.tngl.sh
submitted
#0
1 commit
expand
collapse
1c402c95
docs: Add links to Adda's repo using Den as an example