NixOS notes

I found this article quite useful

I think Nix has unique approach towards OS and I kind of like it.


Can Nix replace docker? I really need find some time to try Nix …

this is a good project. They keep proposing their packager even on traditional distros, so perhaps its the packaging they want to change or the full distro experience its not clear. But certainly I like a lot of things about the project and its goals.

Interesting article about NixOS on ARM and some of the challenges:

And it’s way easier with bootloaders. Generally they have a very limited scope! Think about how many different GRUBs there are for your x86_64 systems. There’s about two! One for UEFI, one for legacy boot! systemd-boot only exists in one flavour!

Now that’s much easier! They use generally stable and agreed upon protocols (e.g. UEFI), and are universal for an architecture.

Now think about how many SBCs and ARM systems you know. It’s possible you have to pick that number and assume there’s that many different schemes for platform firmwares for those devices. Maybe more, maybe fewer.

1 Like

Interesting article:

A quote from the article:

What’s the most interesting tool or tech you’re currently playing around with?

Nix / NixOS. We’ve ended up using it at Fission as well, even though this was more a side thing for me. Some of the other engineers also got interested in it. and so we’ve just adopted it now.

It’s essentially a declarative package manager, but it also plugs into build tools and scripts and ops. It is, by far, the best of that suite of tools I’ve ever used. I use it to manage my Mac, and run a NixOS server.

I can’t imagine going back to ad-hoc dotfiles and conflicting dynamic libraries and changing versions of Node for different packages. Now, I’m in my Nix shell and everything works, I don’t have to mess around with anything. The main downside is the documentation isn’t quite there yet, but once you get over that hurdle, it’s really lovely.