News for hackers. Stuff that matters.
Re:Ask HN: What is your current Linux distro and why did you... by mbrock on Saturday August 19, 2017 @03:18AM (#15052141)
NixOS on my laptop, my Hetzner dedicated server, and my EC2 instances.

Configuring NixOS is done declaratively, so I can easily inspect how my computers are configured, and I know that when I get a new computer, I can just copy the configuration.

Its way of performing upgrades and configuration changes is the new state of the art. You could say it's like React for your whole userland.

The configuration syntax and the package definition syntax are one and the same functional programming language, which makes the system very flexible. And the whole package hierarchy is just a Git repo.

The package server maintained by NixOS also happens to have binary builds for nearly all Haskell packages, which saves me a lot of time.

Re:Ask HN: What is your current Linux distro and why did you... by peller on Saturday August 19, 2017 @08:15AM (#15052973)
Any resources you would recommend for getting started?

So far I've found this[0] which seems like a good introduction.

[0] https://ebzzry.io/en/nix/

Re:Ask HN: What is your current Linux distro and why did you... by mbrock on Saturday August 19, 2017 @08:31AM (#15053014)
Yeah, that seems good!

The NixOS manual is also a good resource.

I'll also mention that EC2 can spin up a NixOS instance from an existing public AMI, which can be a convenient way to get started.

While reading up on the basic semantics of the Nix language, you can also poke around in the Nixpkgs repository on GitHub to see how packages are typically defined and composed.

And there's an IRC channel on Freenode that's nice and helpful.

Re:Ask HN: What is your current Linux distro and why did you... by peller on Saturday August 19, 2017 @09:00AM (#15053112)
Awesome, thanks!