TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Why has Nix suddenly become so popular?

18 pointsby brendanfalkabout 3 years ago
It seem like nix has become quite popular on HN over the last few years... [1] Engineering teams at notable tech companies (shopify, replit) are also beginning to adopt it.<p>But why has it suddenly become so popular? NixOS was first released in 2003. Has Nixpkgs finally hit a critical mass that you can build full projects with it? Did documentation just become much better? Did people just exploring more during covid?<p>[1] https:&#x2F;&#x2F;hn.algolia.com&#x2F;?dateRange=all&amp;page=0&amp;prefix=true&amp;query=nix&amp;sort=byPopularity&amp;type=story

4 comments

iswkqabout 3 years ago
It seems word of mouth has been increasing (I&#x27;ve been using Linux since 2014 and only heard about it in late 2020). Maybe<p>- it has to do with DLTs like Cardano adopting Nix.<p>- influencers like youtubers and podcasters have began talking about it<p>- migration from IRC to Matrix, so people can discover it more easily<p>- people who are into functional programming cycles often talk about it, e.g. haskell, lisp, emacs...<p>- with the raise of Flatpaks and Snaps, people have been talking more often about Nix as an alternative. The same can be said about Docker&#x2F;containers and is often suggested as alternative<p>- mainstream Linux distros taking inspiration from NixOS to make their own immutable and atomic OSs: Fedora Silverblue, openSUSE MicroOS, Clear Linux, ...<p>- since mid 2010s there was some push towards making documentation better for beginners. The official website also got a modern look to be more attractive. So also taking into account nixpkgs is probably good enough for the average user and has a good enough ecosystem around it as well, this all means NixOS has become mature enough for willing&#x2F;passionate adopters (e.g. Arch users who want the next shiny tech), and who will talk about it in every given opportunity.
rektideabout 3 years ago
I disagree with the premise. I havent seem much net change in popularity. It&#x27;s still widely lambasted even by it&#x27;s adherents as deeply woefully lacking in middle-ground documentation especially- there&#x27;s docs for absolute newbies, there&#x27;s og posts discussing super advanced juju, but hardly anything inbetween. There&#x27;s few guides helping explaim the wild nixscripts one come to face.
评论 #31393177 未加载
评论 #31392790 未加载
JamesSwiftabout 3 years ago
I&#x27;m not sure if its actually more popular, or just showing up on HN more. I will say however, that I just clean reinstalled v2.8.0 of Nix Package Manager on 3 of my macs which were previously running a mix of 2.4-2.7 and its so much simpler to get going (shout out to @abathur who informed me they cleaned this up quite a bit, it was a real joy compared to before).<p>Nix with flakes is a game changer, and as flakes become more mature it lowers the bar that much more IMO. I&#x27;m now able to bootstrap a new non-nixOS system with home-manager in 2 commands (well technically 3 with the activation) and it only requires `sh` and `curl` (and I assume xcode command line tools):<p><pre><code> sh &lt;(curl -L https:&#x2F;&#x2F;nixos.org&#x2F;nix&#x2F;install) --daemon nix build .#homeConfigurations.{computer}.activationPackage --max-jobs auto --cores $(sysctl -n hw.ncpu) &amp;&amp; .&#x2F;result&#x2F;activate &amp;&amp; rm -rf .&#x2F;result </code></pre> home-manager also has support for LaunchAgents now which I think makes it a complete package. The experience is very nice. I&#x27;m much more inclined to recommend it widely vs before where I hesitated to tell anyone else to adopt it unless I was ready to walk them through things and caveat some parts.
mindslightabout 3 years ago
At least for me, I had to try using it three separate times over the past decade for its killer features to sink in and my usage to finally stick. If my experience is common, it would explain a lot of lag in adoption.
评论 #31397793 未加载