r/NixOS•
poulain_ght

Long time dendritic pattern (Den) detractor!

For a year, I was spending so much time fighting the many imports, options declaration and directory structure to maintain my configuration to the point it became painful to add, or reshape features.

It reached the point where I deliberately let it stagnate.

There were people online making a fuss about the dendritic pattern which I couldn't wrap my head around every time I went on the "Den" documentation.

Having a framework on top of nix sounds to be a nightmare to debug!

At some point there were so much post on this subreddit that I considered Den and spent some hours scrupulously reading the doc and tweaking a small config in a friends repo.

_Damn!_

It gave back the flexibility and the modularity I had experienced when I first used nix and that I had long time lost.

_I caught myself smiling while refactoring!_

Every! Every! Every file is a self contained module!

Which means, I can move them around, from a repo to another, without worrying about "imports".

I do not lose track of options declarations anymore! (I use batteries instead).

I think I might have been one of the most reluctant to den in here, but today, I've switched 6 repos to Den!

I am taking pleasure in writing configuration (again!).

I am leaving this here for the most sceptical as I was one myself!

If you struggle with a crumbling configuration,

Den might be the solution you refused to consider!

It considerably enhanced my experience with nixos and the joy I get from writing, reorganising, and experimenting in nix!

Posted Jul 13, 2026, 10:42 AM UTC

2525
Loading comments…