Some notes on nix flakes

Some notes on nix flakes

Julia Evans
@b0rk nix is fascinating but… do you have a post on what it is? It’s a package manager afaict. But people talk about it like it’s something more?

@reconbot the weird thing is that you can just use nix to install system packages (like apt or homebrew), but you can also configure ANYTHING with it (like all of your config files etc and ruby packages etc) and there's an entire Linux distribution called NixOS that uses nix for all system configuration

does that help at all?

@b0rk It does open more conceptual boxes! 😂 But yeah.

Why would you want to use nix to manage configuration files?

@reconbot i'm not sure. I have friends who do it but it's not that appealing to me personally.

I think it's related to the "dotfiles repo" trend where you put all your config files in a repo and somehow keep them versioned, like this person talks about https://www.webpro.nl/articles/getting-started-with-dotfiles

I'm not into that either though, I made https://github.com/jvns/dotfiles 11 years ago and stopped using it pretty quickly

Getting started with dotfiles

You're the king of your castle!

WebPro
@reconbot I guess for me the appeal 10 years ago was to have a similar dev setup on my personal machine and work machine, but actually in practice they diverged a lot over time and it felt too annoying to try to keep them in sync in any meaningful way
@b0rk I’m setting up a new work machine and I’m starting with my dot files because it’s a nicer default than the actual default, past that ¯\_(ツ)_/¯