31

Just curious to see what people are up to. I've been using Nixos for a while. It's fabulous and I have absolutely no reason to switch, but part of me is itching to hop to Debian or maybe OpenSUSE. How about you?

you are viewing a single comment's thread
view the rest of the comments
[-] xnasero@programming.dev 1 points 1 year ago

Don't get me wrong I really like Nix. But like you said the learning curve is steep. And just learning the basics including flakes for instant setup is not enough. Because all your config files gotta be rewritten which is a lot of work and nix specific knowlege to aqquire. If you went through it I can totally see the benefit.

However for me personally it makes more sense to use tools that have wide adaption, such as OCI images and CI/CD to buid the image. My thought: Using Docker/Containerfiles is way more adapted by the industry so people already know how to use that. Nix on the otherhand has to not only fight against the default way UNIX systems are configured, but also do that with brand new tools.

I agree all distros are at some point breaking it's just the nature of any OS. That's why the nix paradigm or immutable OS paradigm is far superior and the future.

[-] philm@programming.dev 2 points 1 year ago

OCI images and CI/CD to buid the image

Actually since I just had a similar issue at work. I fought a little bit with the traditional Docker pipeline, and then discovered this: https://mitchellh.com/writing/nix-with-dockerfiles, which not only solved my problem much faster, but is also more efficient, since only the actual dependencies of the package are in there (and it can be really reproducible). So you can actually combine the best pieces of each technologies (Docker - sandboxing/containerizing, Nix - packaging and configuration).

Btw. Nix is rapidly growing (since flakes mostly), so I think a slow shift towards Nix is happening already.

But I agree, migrating traditional dotfiles to Nix+home-manager takes time. I did it incrementally (I used activation scripts to link directly to the old config files, and slowly converted the old config to Nix.

this post was submitted on 23 Sep 2023
31 points (94.3% liked)

Linux

5234 readers
90 users here now

A community for everything relating to the linux operating system

Also check out !linux_memes@programming.dev

Original icon base courtesy of lewing@isc.tamu.edu and The GIMP

founded 1 year ago
MODERATORS