Re:NixOS – Purely Functional Linux Distribution
by corysama on Friday November 02, 2018 @01:06PM
(#18364734)
It also runs on Windows Subsystem for Linux.
https://old.reddit.com/r/NixOS/comments/64xyd7/nix_package_m...
Re:NixOS – Purely Functional Linux Distribution
by ghuntley on Friday November 02, 2018 @05:00PM
(#18366717)
NixOS is coming to WSL. Follow twitter.com/geoffreyhuntley for updates.
Re:NixOS – Purely Functional Linux Distribution
by y4mi on Friday November 02, 2018 @01:02PM
(#18364696)
docker is great though.
it just fixes problems most people dont have.
same with kubernetes i guess. such a great experience if you don't have to host it yourself
Re:NixOS – Purely Functional Linux Distribution
by tinco on Friday November 02, 2018 @01:38PM
(#18365023)
I run Docker on my Nixos server. Nixos for easy reproducible operating system configuration, and Docker for application deployment so simple even application developers can do it ;)
I feel Docker is a better solution to application deployment than Nix is, but NixOS is the best OS configuration out there hands down.
Re:NixOS – Purely Functional Linux Distribution
by ris on Friday November 02, 2018 @03:24PM
(#18365929)
> I feel Docker is a better solution to application deployment than Nix is.
So use Nix to build your Docker images (or rather OCI images).
Re:NixOS – Purely Functional Linux Distribution
by thallian on Friday November 02, 2018 @02:03PM
(#18365232)
That's the same thing I do and it is great.
I don't need much on my host server side but having that stuff be easily configurable in one place and be mostly idempotent made my life easier.
Re:NixOS – Purely Functional Linux Distribution
by svrtknst on Friday November 02, 2018 @04:24PM
(#18366405)
> Nixos for easy reproducible operating system configuration
I'm somewhat out of my depth here, but isn't Vagrant suitable for this purpose?
Re:NixOS – Purely Functional Linux Distribution
by tinco on Friday November 02, 2018 @04:51PM
(#18366632)
You usually use Vagrant to provision a machine with a suitable image and then use some other tech to setup your environment on that image. Common choices are Chef, Puppet or Salt, last time I checked.
You can use NixOS to replace both the OS image and the configuration tech.
Re:NixOS – Purely Functional Linux Distribution
by ghuntley on Friday November 02, 2018 @05:07PM
(#18366764)
Watch https://youtu.be/tl9I-R83lKo for a quick overview. It me in the video btw.
Re:NixOS – Purely Functional Linux Distribution
by sdwisely on Saturday November 03, 2018 @08:14AM
(#18369847)
Great run-through, thank you!
Some time ago I was having a dependency-hell problem with a C++ program that used particular library versions which were available in Fedora (dev machine) but not Ubuntu (target) - plus there were no static versions of the library to compile the program as a static binary.
So I used nix to build the package for me. It also did not have the right version of one library, but I was able to "fork" the library for my build alone in the same configuration file. Then I was able to nix-copy-closure my program to a remote host, and it copied all dependencies over (and nothing more) and I was able to run it under Ubuntu.
Nix is great. I think it is the more proper solution to the problem people have been trying to fix with Docker.