logoalt Hacker News

lilyballlast Saturday at 11:34 AM2 repliesview on HN

Is it? Why? If a NixOS module doesn’t support what you need, you can just write your own module, and the module system lets you disable existing modules if you need to. Doing anything custom this way still feels easier than doing it in an imperative world.


Replies

jbstacklast Saturday at 1:57 PM

"Just" write your own module?

Have you seen how bad the Nix documentation is and how challenging Nix (the language) is? Not to mention that you have to learn Yet Another Language just for this corner case, which you will not use for anything else. At least Guix uses a lisp variant so that some of the skills you gain are transferable (e.g. to Emacs, or even to a GP language like Common Lisp or Racket).

Don't get me wrong, I love the concept of Nix and the way it handles dependency management and declarative configuration. But I don't think we can pretend that it's easy.

show 2 replies
maccardlast Saturday at 12:41 PM

> you can just write your own module, and the module system lets you disable existing modules if you need to

That sounds about 100x more difficult to me

show 2 replies