News for hackers. Stuff that matters.
Re:NixOS 24.05 "Uakari" Released by acheong08 on Friday May 31, 2024 @03:44PM (#40539421)
I really want to switch to NixOS at one point. I’ve had a try about a month ago but having not read much documentation beforehand, it took too much time for me to get everything the way I wanted. Fedora with Hyprland has been working just fine for me so maybe I’ll hold off until things become easier.
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.

Re:NixOS 24.05 "Uakari" Released by ninetyninenine on Friday May 31, 2024 @03:57PM (#40539547)
Not super likely this will happen any time soon. In the closed source world profits drive development and ease of use drives profit.

In the open source world what drives development is some neck beards obscure opinion on user friendliness. Which likely still involves a command line tool and a config file with an acronym as the config parameter.

Re:NixOS 24.05 "Uakari" Released by acheong08 on Friday May 31, 2024 @04:28PM (#40539865)
Command line tools are cool for me. I just need better documentation on the behavior of the CLIs and exactly what they do without having to dive into the source code. One reason I’ve held off is because I’m not familiar with C++. Hoping to fix that over the summer
Re:NixOS 24.05 "Uakari" Released by ninetyninenine on Saturday June 01, 2024 @01:50PM (#40547706)
being cool isn't the key point. The fact that you need better documentation is the problem.

Did I ever read a manual or look up docs for MacOS, windows, iOS, or android?

No. That's what's missing from open source. Well it's not missing, but it's like the lowest priority such that it takes a looong time for something that's open source to approach this level of user friendliness.

Re:NixOS 24.05 "Uakari" Released by shakow on Saturday June 01, 2024 @05:49PM (#40549352)
You're comparing a user-facing GUI to a system administration tool. Just like I don't expect Jack from accounting to read a doc to launch Chrome from Gnome, I would expect James from IT to read docs before setting up the Oracle Linux LDAP server or the IIS + SQL Server stack.
Re:NixOS 24.05 "Uakari" Released by ninetyninenine on Sunday June 02, 2024 @04:57AM (#40552589)
And that's what is stopping NixOS from ever being main stream. It will always occupy this obscure corner of OS's that basically nobody uses.
Re:NixOS 24.05 "Uakari" Released by shakow on Sunday June 02, 2024 @05:34AM (#40552741)
I don't think that NixOS as a main stream OS makes sense. I personally use it because I'm a nerd, but I would not recommend to my sister anymore than RHEL or Oracle Linux.

However, to efficiently administrate an heterogeneous server fleet, I have not found better yet.

Re:NixOS 24.05 "Uakari" Released by ninetyninenine on Sunday June 02, 2024 @02:31PM (#40556254)
It does make sense. The key thing with nixos is one config for all OS installations. This makes sense for casual users, and also for mid-tier users and developers who want a really good OS but not the technical baggage that hinders development.

Right now NixOS is mostly used by devs who don't mind doubling development time because that's the extra time it takes to learn and deal with Nixos.

This makes sense for everybody:

An OS with the power of NixOS and ease of use of MacOS or Windows or Ubuntu.

Re:NixOS 24.05 "Uakari" Released by pxc on Tuesday June 04, 2024 @03:10PM (#40577904)
> Did I ever read a manual or look up docs for MacOS, windows, iOS, or android?

> No. That's what's missing from open source.

Sounds like a you thing. I consult macOS manpages routinely. Having been away from Windows for a long time, I consult MS docs on Windows and PowerShell pretty much every time I touch Windows.

Aside from all that... if you're too good to read a manual, you're too good for Nix; do everyone a favor and move on.

Nix has lots of real UX issues to fix but trying to onboard or entice users whose expectation is to read nothing and learn nothing would just be a harmful mistake.

Re:NixOS 24.05 "Uakari" Released by opengears on Friday May 31, 2024 @04:02PM (#40539596)
Hyprland installation is a oneliner (if you are not on nvidia) programs.hyprland.enable = true; :D
Re:NixOS 24.05 "Uakari" Released by acheong08 on Friday May 31, 2024 @08:05PM (#40541557)
I actually don’t like the special treatment of certain programs. Consistency is king. Even on Fedora, I boot into TTY and run Hyprland manually from there or just stay in TTY+tmux.