TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

What's your go to Nix/NixOS pitch?

46 点作者 ronef将近 2 年前

16 条评论

tomberek将近 2 年前
30 seconds:<p>Can you build&#x2F;test&#x2F;run your organization&#x27;s software from 5 days&#x2F;months&#x2F;years ago - across multiple platforms, systems, and ecosystems - reliably?<p>Can you develop, build, manage, and maintain your software without fear?<p>Do you want a system do the bookkeeping for proper software dependency management? Or do you want people to do it by hand?<p>Do you want a declarative system, or try to remember and keep track of all the changes you&#x27;ve ever made by hand?<p>You don&#x27;t get these things for free, but if you value them, then Nix is the tool for you. Or at least learn about it so that you can learn from the decades of accumulated knowledge.<p>next 30 seconds: I can confidently compile and run multiple incompatible versions of software simultaneously. I can build projects from years ago. I can package large projects from different ecosystems (python 2&#x2F;3, c&#x2F;c++, go, Javascript, Octave, Rust) and be confident they will not interfere with each other. I can try bleeding edge software with no risk to it interfering with my system. It is faster and less hassle than juggling various Docker containers and VMs. It protects me from dependency hell. Using Nix to manage an operating system (ie: NixOS) then gives me those benefits for my entire machine. Then I get even more benefits when using Nix on any other (not even necessarily NixOS) machine by pushing around package closures and managing a simple binary cache.<p>But overall: it makes me more productive. It is my secret weapon to manage the complexity of software development. The benefit is not on day 1, but on day 100 and day 1000.
anotherhue将近 2 年前
NixOS takes PL concepts from the 80s such as {structured, functional, declarative} programming and retro fits them onto a modern Linux vehicle in a miraculous fully-reproducible way.<p>Once you&#x27;ve had a taste, using anything else will feel like poking your hard drive with a stick.<p>Also:<p>NixOS: Be the distro maintainer you never wanted to be.
评论 #37103486 未加载
anotherhue将近 2 年前
NixOS is the first meaningful counterpoint to Pike&#x27;s &quot;Systems Software Research is Irrelevant&quot; talk. Or, put another way, the most meaningful advancement in UNIX in about 30 years. (Nix is itself 20 years old).<p><a href="https:&#x2F;&#x2F;doc.cat-v.org&#x2F;bell_labs&#x2F;utah2000&#x2F;utah2000.pdf" rel="nofollow noreferrer">https:&#x2F;&#x2F;doc.cat-v.org&#x2F;bell_labs&#x2F;utah2000&#x2F;utah2000.pdf</a>
评论 #37103484 未加载
superkuh将近 2 年前
NixOS is the distro for people that want to give up on the concept of a distro. If you want to abandon the entire concept of system libs and set up a custom environment (or if you&#x27;re lucky, have someone else write the multiple config files) every time you want to run something, NixOS is for you. If you want to embrace the fragmentation in linux and make it so no dev can ever expect a consistent set of libs, NixOS is for you. If you want to play around like your home desktop computer is for a business and do some cargo culting, NixOS is for you.<p>That&#x27;s not to say nix is bad. But NixOS definitely is.
评论 #37104138 未加载
评论 #37104787 未加载
chpatrick将近 2 年前
Set up your whole system in a config file. If you mess something up you can rollback any time (or in fact boot directly into past versions). You can patch bugs anywhere in your dependency tree easily. C&#x2F;C++ packaging works. You can also deploy these configurations to remote machines.
评论 #37103626 未加载
abathur将近 2 年前
I&#x27;m not sure if I&#x27;ve ever <i>tried</i> to pitch Nix or NixOS.<p>I can&#x27;t imagine going back (and might give up computers to live in a tree if I had to), but I don&#x27;t <i>really try</i> to ~convert people who aren&#x27;t ready for it.<p>I&#x27;ll share if I suspect someone is ready, or if I see them struggling on something it ~solves. I might lend a little time helping them bootstrap a basic environment for a project so that they can see benefits upfront.<p>But I want them to sell themselves on it. This is mostly because Nix is a bit of work, and I feel like slowly selling myself on its vision by reading different articles circa 2015-2017 was an important precondition for succeeding when I finally decided to take the plunge after my previous Windows system flamed out in early 2018.
评论 #37105181 未加载
abuggia将近 2 年前
In the past three weeks I&#x27;ve explored two use cases:<p>1. Macbook setup via nix-darwin + home-manager. Now that I&#x27;ve put in the time, I&#x27;m going to use it for my personal and family laptops. I would probably not recommend anyone else do this if they have not previously used Nix. Very high ramp given the benefits.<p>2. Dev environments[1]. I started using nix+direnv for my side projects. This was quick and easy to get started with and has been great. Would recommend anyone look into it via the link below.<p>I have not tried installing&#x2F;using NixOS.<p>[1] <a href="https:&#x2F;&#x2F;determinate.systems&#x2F;posts&#x2F;nix-direnv" rel="nofollow noreferrer">https:&#x2F;&#x2F;determinate.systems&#x2F;posts&#x2F;nix-direnv</a>
评论 #37103660 未加载
评论 #37103707 未加载
lukego将近 2 年前
Run for your life. It&#x27;s too late to save me from Nix but you can still save yourself.
评论 #37103473 未加载
lijok将近 2 年前
I think Nix should fix their horrible UX before trying to market it too much.
评论 #37103812 未加载
评论 #37103528 未加载
评论 #37103497 未加载
mdaniel将近 2 年前
&quot;I have stock in Western Digital!&quot;<p>&quot;All the fun of Haskell and dpkg!&quot;<p>am I doing this right?
评论 #37103448 未加载
评论 #37103392 未加载
charcircuit将近 2 年前
NixOS: Intentionally breaks compatiblity with a lot of scripts and binaries due to not having &#x2F;usr&#x2F;bin&#x2F;bash and not putting libraries in a standard location despite the fact there is still &#x2F;usr&#x2F;bin&#x2F;env and a bunch of symlinks to things under some obscure folder in &#x2F;run. It will make sure that every user has to learn Nix because you won&#x27;t be able to run things from the internet without going through Nix&#x27;s documentation trying to figure how to package something when you just want to run it and get on with your day.<p>If you enjoy packaging then this OS is for you.
评论 #37103394 未加载
评论 #37103412 未加载
评论 #37103400 未加载
yewenjie将近 2 年前
&#x27;you&#x27;ll never be afraid to break things again&#x27;
评论 #37103653 未加载
评论 #37103665 未加载
snapplebobapple将近 2 年前
Nixos: an excellent place to spend thousands of hours trying to save hundreds of hours of time reinstalling linux and setting it up each time you buy a new computer.
k__将近 2 年前
Nix is preventing the issues Docker tries to solve.
评论 #37104064 未加载
评论 #37103535 未加载
pxc将近 2 年前
NixOS: I&#x27;m selective about who I pitch NixOS to, but if I think someone I know would be a good fit with it, my pitch is basically a tl;dr version of Chris McDonough&#x27;s excellent ramble here: <a href="https:&#x2F;&#x2F;youtube.com&#x2F;watch?v=17-TRCpDizA">https:&#x2F;&#x2F;youtube.com&#x2F;watch?v=17-TRCpDizA</a><p>Computers nowadays are a writhing complex mass of components that change and crumble from beneath your feet when you&#x27;re not looking. NixOS makes your computers predictable and manageable again. It gives you the power to set your preferences and solve your problems in a more durable way than ever. In doing so, NixOS also makes getting things right feel worthwhile when you might otherwise be inclined to just live with and adapt to brokenness. NixOS makes computing fun again, and puts practical configuration management, even on desktops, within reach for lazy home users.<p>Nix: Portable, predictable development environments that are fast, native, and don&#x27;t ask you to fuck around with port forwards or bind mounts. Nix is insanely fast compared to Docker Desktop, and provides easy access to an extraordinarily massive collection of packages (80,000+!). If you develop on Mac and Linux and deploy to Linux, there&#x27;s no better way to distribute your software or its dependencies internally than with Nix, period.
zvmaz将近 2 年前
Currently using Fedora Silverblue. I am tempted to learn Nix and NixOS, but I have red several accounts that Nix is hard, documentation somewhat lacking, the ecosystem frustrating. Can anyone tell me if I should invest time to learn Nix, nonetheless?
评论 #37104305 未加载
评论 #37204943 未加载
评论 #37105257 未加载