Spyke
piefed.world

I recently changed my nixos configs to this approach. Takes a bit to remember where I put everything and what modules things are in but in the long term it makes things easier to manage. Also makes things easier if I need to turn modules on or off for whatever reason.

That being said does take a bit of work to get everything set up but in the long run it's worth it.

2
Laserreply
feddit.org

What do you mean? Dendritic approach or having modules in a separate flake? Or both?

2
Laserreply
feddit.org

It's certainly very helpful with that, I can say I learned quite a bit about nix, but also about flake-parts during the migration and I'd say the latter is criminally underrated in the community.

1
rozodrureply
piefed.world

the thing with NixOS is there's really no right or wrong way to configure your system. I know a guy that just straight up has a single configuration file and then just uses comma for everything. like practically nothing is installed. when he uses firefox its ", firefox" in a terminal. he likes it.

3

I love the comma command. Great for things I only use every blue moon and am fine with being cleaned up by garbage collection.

1

You reached the end

Modularize your NixOS modules using the dendritic approach | Spyke