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.

NixOps – Declarative cloud provisioning and deployment with NixOS

248 pointsby mrkgnaoover 7 years ago

7 comments

mrkgnaoover 7 years ago
In view of some replies downthread: yes, application-level management is entirely possible with Nix(OS).<p>Currently, this works best for Haskell, for which there is a sizeable amount (relatively speaking) of Nix tooling available. This is largely because a lot of Nix(OS) users also use Haskell, perhaps because lend themselves to very similar modes of &quot;declarative&quot; thinking.<p>This is a thorough, excellent guide on how to develop Haskell projects with Nix, including managing non-Haskell dependencies (zlib, SDL, ncurses, and so on):<p><a href="https:&#x2F;&#x2F;github.com&#x2F;Gabriel439&#x2F;haskell-nix&#x2F;" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;Gabriel439&#x2F;haskell-nix&#x2F;</a><p>I only started using NixOS about a month ago, and it&#x27;s fantastic. The best part is that binary caches are available for almost everything, so the hitherto-painful step where one compiles Haskell dependencies locally has been completely eliminated. The best way I can describe how I work now is &quot;Python virtualenvs, but for everything at once and just so much better&quot;.<p>PS. Gabriel Gonzalez is, in general, someone who makes great documenation. Check out the tutorial for his stream-processing library Pipes: the ASCII art alone is awesome :)<p><a href="https:&#x2F;&#x2F;hackage.haskell.org&#x2F;package&#x2F;pipes-4.3.4&#x2F;docs&#x2F;Pipes-Tutorial.html" rel="nofollow">https:&#x2F;&#x2F;hackage.haskell.org&#x2F;package&#x2F;pipes-4.3.4&#x2F;docs&#x2F;Pipes-T...</a>
评论 #15270281 未加载
评论 #15270121 未加载
评论 #15271245 未加载
zbentleyover 7 years ago
Other than integration with the rest of the Nix&#x2F;NixOS ecosystem, how is NixOps different from Puppet?<p>Reading briefly through the examples, it seems very oriented towards provisioning machine instances rather than provisioning behavior across networks or multi-machine services, which is something that Puppet really excels at. What features does this offer in addition to ones that Puppet provides?<p>That said, I&#x27;ve been getting tired of Puppet recently for some unrelated reasons, so I&#x27;ll definitely give this a try.
评论 #15270348 未加载
评论 #15269997 未加载
评论 #15271321 未加载
评论 #15269910 未加载
zeisssover 7 years ago
Is there good explanation anywhere of the syntax of those files? I tried getting into nix multiple times and was always put off by the lack of understandability of this.
评论 #15269934 未加载
评论 #15270151 未加载
评论 #15270316 未加载
评论 #15269748 未加载
评论 #15270132 未加载
评论 #15269793 未加载
评论 #15269999 未加载
thomastjefferyover 7 years ago
NixOS makes a great OS for personal&#x2F;workstation use, too.<p>With NixOS, my system is <i>always</i> 100% clean, and <i>never</i> broken.<p>I can install packages in my home directory without root.<p>Best of all, whenever I want to write any code, I can use nix-shell to make the toolchain and dependencies <i>temporarily</i> available to a self-contained shell. No more cluttering my system with libfoobar-dev for a quick build, and forgetting why.
pierrebeaucampover 7 years ago
I would love if someone could compare NixOps with BOSH.
评论 #15270505 未加载
评论 #15270026 未加载
djsumdogover 7 years ago
Seems neat, better than Terraform, although limited to just nix and a few providers. Hopefully that will grow. I&#x27;ve been working on a provisioning tool myself. Provisioning is hard, and supporting multiple APIs can be really difficult.
评论 #15269640 未加载
评论 #15269604 未加载
j_sover 7 years ago
Can anyone comment on whether or not Nix is 100% reproducible? To the best of my limited understanding, it is not.
评论 #15272192 未加载
评论 #15272231 未加载