News for hackers. Stuff that matters.
Re:NixOS 24.05 "Uakari" Released by bsimpson on Friday May 31, 2024 @04:00PM (#40539578)
> things become easier

I'm not even sure what that would look like. Nix is such a departure from other Linuxen that I don't think it will magically become easier; I expect you'll always need to understand Nix to use it. Maybe better syntax highlighting etc. would help?

I expect it's much easier to learn Nix in the age of LLMs than it would have been before.

Re:NixOS 24.05 "Uakari" Released by acheong08 on Friday May 31, 2024 @04:25PM (#40539832)
Documentation!
Re:NixOS 24.05 "Uakari" Released by rav3ndust on Friday May 31, 2024 @04:21PM (#40539780)
i haven't had a chance to have a play with the alpha yet, but there is a project that is working on making nix "easier" for beginners. its called snowflakeOS: https://snowflakeos.org/
Re:NixOS 24.05 "Uakari" Released by bsimpson on Friday May 31, 2024 @05:09PM (#40540271)
There was a bunch of recent drama surrounding a woke takeover and/or fork of the Nix ecosystem. Browse /r/NixOS if you want details.

I haven't followed it closely and I don't want to misrepresent, but as I understand:

- They pushed the founder of the project out of the BDFL role he'd held for 21 years, and

- They started a new "governance" process that included evicting people who disagreed with their tack/tact. It was done in the name of "inclusivity," but it sounds like the bar for excluding people they disagreed with was very low.

The Snowflake guy (Jake Hamilton) is part of the takeover crew. He's got a fork in-waiting if the takeover of mainline Nix doesn't go the way they want:

https://aux.computer/

Re:NixOS 24.05 "Uakari" Released by rav3ndust on Friday May 31, 2024 @05:52PM (#40540698)
thanks for the info! i had heard about some drama in nixworld, but hadn't done much reading into it yet. this is a good starting point.
Re:NixOS 24.05 "Uakari" Released by lambdanil on Saturday June 01, 2024 @02:12AM (#40543304)
That is a rather biased interpretation of events.

The controversy started with questionable sponsorship decisions for NixCon, which brought the entire project leadership under scrutiny as it wasn't the first time this had happened.

This, along with some more long-term issues contributed to the creation of an open letter[^1] criticizing the BDFL of Nix. How valid you consider the criticisms is not for me to decide, but I don't think dismissively reducing the issue to a "woke takeover" is helpful.

[1] https://save-nix-together.org/

Re:NixOS 24.05 "Uakari" Released by k8svet on Friday May 31, 2024 @04:17PM (#40539739)
There are multiple competent LSP implementation for nix so hopefully that's not the blocker! Nix has rough to pick up, but has a comfort to it once you broach it.
Re:NixOS 24.05 "Uakari" Released by qw3rty01 on Friday May 31, 2024 @05:02PM (#40540193)
as someone who has been working to make nix my main system for several months now, there are some very clear areas of improvement that would make things easier:

- [any] documentation, the majority of nix modules are undocumented and so the only way to figure out what settings are available is to find and read the source code (and even then it could be using a module to convert the definitions to the target config format, in which case there’s even more guessing, but at least the official documentation of that package gives you something)

- coding standards; lots of modules have different variations of camel case, snake case, adjective-noun, noun-adjective, etc so it’s not clear what the correct format of a setting is for an arbitrary package

- flakes just need to be both an official feature and set to be the default way to interact with nix, it just has too many upsides

- Better errors, the current errors are just horrible to read and you end up picking out 1 or 2 spots in several paragraphs of irrelevant code snippets and stack traces

- up to date resources, since the official docs aren’t very beginner friendly, third party resources end up being the way people learn (vimjoyer has been a godsend), but half the time when you try to use those resources, they’re out of date and lead to broken nix configs, having solid official updated documentation to help new users get started in nix would go a long way here

Re:NixOS 24.05 "Uakari" Released by techdragon on Friday May 31, 2024 @07:47PM (#40541434)
Seriously… flakes are still “experimental”… come on… this is starting to look bad at this point… I have been refusing to get onboard while the entire community’s preferred methods are “experimental”… I don’t want to base my entire OS install on experimental features…

The flakes situation felt like the sort of thing that the next major release would have finally solved… it’s absolutely baffling to me that this is still not offical and enabled by default… I haven’t seen any new decent documentation in over year that doesn’t use flakes.

Re:NixOS 24.05 "Uakari" Released by hammyhavoc on Friday May 31, 2024 @09:52PM (#40542222)
Pull requests welcome?
Re:NixOS 24.05 "Uakari" Released by nerdix on Friday May 31, 2024 @08:34PM (#40541734)
nix flake update then nixos-rebuild switch --flake and encountering an error is nightmare fuel. There is always a moment right after the error occurs where it feels like you'll never figure it out. I've always manage to up to this point but man...
Re:NixOS 24.05 "Uakari" Released by lambdanil on Saturday June 01, 2024 @02:05AM (#40543281)
I'd recommend taking a look at Guix as a kind of alternative implementation of the idea of Nix. It has its own usability issues, especially surrounding nonfree software and a much smaller community, but it addresses some of the issues you comment on.
Re:NixOS 24.05 "Uakari" Released by hammyhavoc on Friday May 31, 2024 @09:51PM (#40542215)
ChatGPT generates some complete dogshit in terms of Nix configs.

Rather than waste time and valuable electricity and water on LLM prompts with poor results, just read the docs and learn. It'll be faster—I promise.