New laptop - Thinkpad P14s

under Nix, Nixos, Gentoo, English

~4.5 years ago I bought Dell XPS 15. It was a powerhorse without a match for that size/price. I must admit that I wasn't happy about it: Webcam is positioned below the screen, recording my typing fingers instead of my face. Battery getting swollen (and being forced to fly that way wasn't fun), after replacing it happened again. The CPU fan is loud and throttles a lot. There's only one company in Slovenia that ...

Announcing Cachix - Binary Cache as a Service

under Nixos, Gentoo, Elm, Nix, Haskell, English

In the last 6 years working with Nix and mostly in last two years full-time, I've noticed a few patterns. These are mostly direct or indirect result of not having a "good enough" infrastructure to support how much Nix has grown (1600+ contributors, 1500 pull requests per month). Without further ado, I am announcing https://cachix.org - Binary Cache as a Service that is ready to be used after two months of work. The main ...

Friends sometimes let friends curl to shell

under Nixos, Nix, Plone, Gentoo, English

Every now and then (actually quite often), people complain on twitter they're afraid of our simple bash installer for Nix package manager: $ bash <(curl https://nixos.org/nix/install) Example (from today): There are popular blog posts discouraging use of it. Ask yourself a question, how would package manager install itself? Via another package manager? If we assume nixos.org is not compromised (which is really hard to detect), using TLS to secure connection and with our ...

Why Puppet/Chef/Ansible aren't good enough (and we can do better)

under Nixos, Nix, Plone, Gentoo, English

This particular blog post was sitting on my mind for a long time. I don't want to start a flame war, but at the same time I also don't wish for Linux community to build and grow upon ad-hoc solutions that we've accumulated over the last 30 years to the packaging and deployment problems. Remember (old-timer?) Linux user typing commands into terminal that goes and mutates the state of the Linux machine. They'll ...

Getting started with Nix package manager

under Nixos, Nix, Plone, Gentoo, English

Nix is a package manager implemented as a minimalistic functional language. Nix package, for example Nginx is a result of a function mkDerivation and Nix tries very hard for result to have two properties: No side-effects. Given the same input to the function, you should get the same binary package stored in Nix Store. Package in Nix Store is immutable. Nix supports Linux, OS X and FreeBSD platforms (probably others like ...