this post was submitted on 24 Jul 2023
7 points (100.0% liked)

NotAwfulTech

364 readers
1 users here now

a community for posting cool tech news you don’t want to sneer at

non-awfulness of tech is not required or else we wouldn’t have any posts

founded 1 year ago
MODERATORS
 

Nix is one of the few pieces of software I trust. I use it on just about every computer I work on — awful.systems is managed and deployed by just nixos-rebuild and a deployment flake, as are almost all the computers in my house (including a few embedded into the house itself). in general it makes both software development and configuring Linux a lot more fun compared with the traditional way of doing things

I often call Nix fucking incomprehensible, but it doesn’t need to be. Zero to Nix is one of the documentation projects that’s intended to be a more gentle goal-oriented introduction to Nix concepts, and it’s definitely worth following along if you’re curious about Nix and want to be able to do something useful with it right away

if you end up liking Nix and want more of it, NixOS is an entire Linux distro configured and managed by Nix, and it’s incredibly powerful and stable. I run it on a full-fat gaming PC as my primary OS and the experience of running it is surprisingly very good; feel free to ask and I’ll summarize how I run stuff like games on NixOS

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 3 points 1 year ago (1 children)

has nix managed to move their tooling off the old perl and C codebases as yet? I looked at it a long while back because the idea of nix interests me but I just didn't have the spoons to deal with that at the time

(yes I've had this tab open until now (mostly because of said insufficient spoons for a few few weeks))

[–] [email protected] 4 points 1 year ago (1 children)

as far as I know Perl is almost entirely gone, but the Nix interpreter is still C++. in the long tradition of functional programming though, the Nix language itself is becoming more powerful as the C++ interpreter becomes more of an implementation detail most folks don’t need to mess with

for what it’s worth, I never have the spoons to deal with C++, so I’m happy to say that all in all my years of screwing with Nix I’ve never had to use anything but the Nix language and bash (and potentially whichever language I’m writing packages for)

[–] [email protected] 3 points 1 year ago (1 children)

that's encouraging to hear

a number other nix-users I'd spoken to before always seemed to do shit with the C++ etc as well but they always did that with everything so I couldn't tell if it were choice or requirement

guess I'll have to get some round tuits to spend

[–] [email protected] 3 points 1 year ago (1 children)

oh yeah, Nix is fairly unique in that it’s very easy to combine with whichever language you’re working in. C++ folks might like it cause it’s a much less painful way to do dependencies than what’s usually standard for C++ projects — it’s pretty much the only thing keeping a few of my Python projects glued together

[–] [email protected] 3 points 1 year ago

ah no these were the types to just be messing in the C/C++.... because? insert houseshrugging.gif