...to get a working config, you need to learn a whole new programming language and figure out the tweaks for each package you want to install, so I'd argue the journey is just as long
I'd personally advise against NixOS as a first distribution for that matter. It's a great distribution, but if you want to understand the underlying mechanics, start with something where you interact with them, like Arch or whatever.
Well, I "did it" for an evening once, it was fun. The next day it got annoying REAL fast. But I do keep the config around, so I guess I can just go back to it eventually to keep doing it.
Adding applications and rebuilding is generally trivial.
The problem becomes if you want to use flakes or home manager, which you probably should. The config for those is complicated and poorly documented.
I don't know the programming language. I've been running it for about a month now. If you're not doing anything complicated or doing any crazy conditionals or running one config for 27 boxes it's no different than editing a yaml.
It took me about 2 days to get Nvidia working properly with offloading that was my hardest task so far.
Well not everything is packaged and when they aren’t it Can get more complicated to install since nixos doesn’t use the default file system layout. Another thing is that certain programs have assumptions about being able to do certain things like changing their own config files that don’t work well with the nixos way of doing things. (Looking at you fish(it works but you can’t manage your configuration for it(pretty sure?)with nix))
not to mention how many things they want to go through their system. getting vim set up “their way” while also trying to install python3 support, vimtex, and plug-vim was almost impossible. not to mention finding a way to store the vim configs separately from the rest of nixos. (i use vim on multiple operating systems so switching everything to the nixos wasn’t a viable option.)
maybe there was a better way to do it that i didn’t know about, but boy did i try to find it.
you can just include dotfiles and the like in a nix config, while it's not the recommended way it usually works
in my experience installing support for most things is way easier on nix, as long as they're already packaged well. I'm still scared of the eventual time when I'll have to create my own package for the nix store to install from source
i think i would’ve probably had to package the specific kind of vim that i needed, because i wanted neovim and a gui too or something. this was also like 3-4 years ago so its possible the documentation for this kind of stuff has considerably improved since i tried, or that there are now packages that make this sort of thing easier. and it’s definitely possible everything existed at the time and i just couldn’t figure it out.
but i ended up with a similar feeling to the one you described: stuff is easy when you do it their way, using their tools; but things are very hard to do if you deviate from the path.
i know this is just sort of an inevitable part of the design paradigm they use, and that everything probably works very nicely if you learn their language and the various ins and outs of the operating system, but i just wasn’t willing to commit that much to it.
I really like most of it and started to daily drive NixOS a few months ago, but there's still some very valid criticisms to be made. Lack of documentation is probably the biggest one
i would like to give it another try at some point because it seems like it will probably feel really nice to use once i get the hang of it. but the lack of documentation is pretty rough.
i also think that for nixos, a lack of documentation is a much more difficult thing to overcome. other distros can piggyback off the arch documentation for most things, but that doesn’t work as well for nixos.
that's certainly true. I'd like to help improve the documentation, but unfortunately I'm still pretty green at Nix myself, so there's not much I can do at the moment. But it seems to be picking up speed recently, so there's hope that with more people better documentation is coming soon
You still need to figure out the tweaks on other systems. Unless you want the Nvidia machine learning to complain that your C compiler is the wrong version and exit. Or maybe you'd prefer to deal with a package calling ps and parsing its output (?!) but you have ps that's a different version so the output doesn't parse the same
I mean, when have we ever had a system that is working without any tweaks? Once you install third party packages, there's so many things that can go wrong