Nix is the ultimate DevOps toolkit
tech.channable.com
Nix is the ultimate DevOps toolkit
1–10 of 243 posts
Re: Nix is the ultimate DevOps toolkit
#2As for the article, I hadn't actually considered using it as a replacement for Ansible etc - but I could see why it might work better. I could pin packages etc to the versions, and get the exact same thing each time - no guarentee with ansible etc that the apt repository hasn't been updated since the last install.
I think the whole Nix thing is an interesting idea, and I like the ideas behind it, I haven't played enough with it yet to dare use it in production (or on my main desktop for that matter) but it is certainly a tempting idea.
Re: Nix is the ultimate DevOps toolkit
#3That being said the article jogged my memory on some related thoughts...
If you’re building deb packages for your own apt repo aptly is a great tool for powering it https://www.aptly.info/
If you haven’t tried asdf for managing versions of tools it generally does what you’d expect and does it well https://asdf-vm.com/#/ It uses pyenv under the hood for Python management AFAIK.
Re: Nix is the ultimate DevOps toolkit
#4I am very much looking forward to trying Nix I just haven’t made the time. That being said the article jogged my memory on some related thoughts... If you’re building deb packages for your own apt repo aptly is a great tool for powering it https://www.aptly.info/ If you haven’t tried asdf for managing versions of tools it generally does what you’d expect and does it well https://asdf-vm.com/#/ It uses pyenv under the…
(You can do the same with nix and direnv asdf - althrough I havent got that far yet)
Re: Nix is the ultimate DevOps toolkit
#5Definitely Nix deserves a try.
Re: Nix is the ultimate DevOps toolkit
#6Re: Nix is the ultimate DevOps toolkit
#7Re: Nix is the ultimate DevOps toolkit
#8Some friends and I have been experimenting with this for the last year over at https://tvl.fyi (code etc. is linked at the page bottom).
We've run into some issues with the current implementation of Nix, but stay tuned on that :)
Re: Nix is the ultimate DevOps toolkit
#9I simply do not grok the syntax or what the functions do. I tried searching for the functions shown in the examples on the website to no avail. I searched packages, options, and even resorted to ctrl-f while clicking through the site "documentation"...
It sounds awesome, but its in dire need of some better documentation if it wants to be accessible, IMHO. I simply didnt have the patience to delve any deeper.
Re: Nix is the ultimate DevOps toolkit
#10I tried to learn before. But the docs made it incredibly hard. They went into excruciating detail of how it works. I still never made my own nix package. I’m wondering as a solo dev, who uses his personal machine, and two servers, if the hard work of learning it will pay off. But it definitely looks interesting.