• 1 Post
  • 123 Comments
Joined 4 年前
cake
Cake day: 2023年5月22日

help-circle
  • Let us know when you do! It’s a huge undertaking and NixOS has a pretty big network effect. Doesn’t mean no one should tackle creating an alternative. I fully believe declarative distros are the future for any production environment and that the space is far from taken by current distributions.


  • Good points. If you go through the open pull requests on nixpkgs, there’s a lot of stuff that never got through and it’s not obvious as to why. I was happy to see a lot of stuff merged less than a week ago. But at this point, there’s a huge backlog.

    As to forking NixOS, which in my opinion means forking Nixpkgs, Guix system seems like a good start. I decided for NixOS because of proprietary packages as I use Steam, and support for secure boot which while still young and only through lanzaboote works very well for what I use it.




  • Personally, I’m not the biggest fan of Debian’s and by extension Ubuntu’s development and distribution model. That being said, it’s my personal preference, and not an objective judgement on quality.

    Mint doesn’t really have any features that make it especially interesting for advanced users that it doesn’t inherit from Ubuntu or by extension Debian. Or does it?

    Again, not trying to shit on it or anything, but Mint’s goal was always to create an easy distribution, which is no small feat. But this is nothing I’d associate with “advanced users”.


  • How to read NixOS documentation:

    1. Go to wiki, see if topic exists
    2. If it does, notice how it doesn’t cover your case
    3. Use the hints from the wiki to get your search engine redirect you to https://ryantm.github.io/nixpkgs/
    4. Notice it still doesn’t cover your use case
    5. Use search engine again, this time with the hints from aforementioned page, to arrive in the proper code in the nixpkgs repository
    6. Read annotated source code to see what actually happens

    Yeah, this is how I found https://github.com/NixOS/nixpkgs/blob/master/pkgs/build-support/setup-hooks/make-wrapper.sh yesterday because I wanted to install some shell scripts that needed to be adapted.

    Don’t get me wrong, maintaining a distribution the way NixOS is a huge effort and I can’t praise the maintainers and developers enough. The ecosystem they’ve built is unlike I’ve seen anywhere, and the technical foundation is sound – in fact I’d wager more sound than what commercial distributions offer. The latter just have more grease. But I do understand the criticism about lacking documentation. But human labor is scarce, and I mean look at me posting this here instead of improving it.

    There’s also no good guidance or best practices for packages in nixpkgs and stuff is permanently changing (which in my opinion is good). E.g. did you know that new derivations should be sorted by letters, not categories, and not go into all-packages.nix? At least if your derivation doesn’t require fancy attributes (pardon me if that is not the correct term). Or that stdenv.mkDerivation rec {…} is not best practice, but rather stdenv.mkDerivation (finalAttrs: {…})? And why the latter even works?

    Writing good documentation for a system, especially one that’s permanently evolving, is not easy, and I prefer all efforts going to actually maintaining and evolving the system itself than trying to get the perfect documentation that’s outdated in a matter of time. And without trying to gatekeep it, NixOS is a distribution for advanced users. I recommend it to everyone who has a solid understanding of how a Linux system is composed because I think it’s important what NixOS abstracts away from you. And as an advanced user, reading commented code once in a while is fine in my opinion.


  • No it’s not just a phase. Mint really is very good which is why it’s very popular and widely regarded as the overall best distro whether beginner or advanced user.

    Mint widely regarded as the best distro for advanced users? I must have missed it.

    Not trying to shit on it or anything, but I’ve never heard the sentiment.


  • One issue with rollbacks Arch has is that there’s basically only up to three valid configurations available at any time. These are your current system configuration (oldest state), upstream repositories (newest) and your local database copy (somewhere in-between, though all three states can be identical, e.g. straight after Syuing). By definition, you can’t convert your system configuration back to an older one because it’s the oldest one of the three already. What you can do is mix your current oldest configuration with packages from the cache, older or newer doesn’t actually matter. But you’re not getting back the old state really, you’re creating a new one that’s different from Arch’s repository.

    A configuration on NixOS includes all exact package versions and their exact configurations. No exceptions.

    If you actually need these guarantees is a different question. I used Arch for 15 years and never had significant issues. I switched to NixOS instantly after trying it on an old notebook and immediately recognized that the whole approach suits me so much better that I switched almost all machines over by now.



  • I’m Windows-free for about 18 years.

    It’s basically the same time I started using Linux somewhat more. I didn’t go Windows-free until 2007 though and then returned to Windows because I needed it for something with my Master’s thesis. I kind of shudder at the thought how my old setups looked under the hood. You learn a lot in 18 years… Probably copy-pasted a lot of shell commands back then. But UT2k4 in its OpenGL glory was worth it



  • In addition to what was already said - use Firefox instead of anything chromium-based - I think it’s equally important to stop using the services offered by big tech companies and not just try to keep using them on our terms. Google wants me to watch a ton of ads on YouTube? Fine, I’ll stop watching it. In fairness, on my smart TV, YouTube ads have been what I consider adequate, while Twitch can be a disaster. The alternatives already exist with Peertube and Owncast. Are they perfect yet? Far from it probably but there won’t be big improvements if nobody uses it.


  • And honestly the example you gave is rather a good example of a remake. The PS2 is 20 years old at this point. If the game was well made and the remake/ remaster is well-executed? Why would anyone object to this?

    New and exciting games exist. This isn’t an issue. In most cases I’d even say that while money surely is important, in most cases it’s not a lack of money preventing a good game, but rather another issue that might lead to funds running out. If that makes sense.

    The current situation is way better than say 25-30 years ago, and those games weren’t exactly trash.




  • As pointed out, they don’t use it. However, there are loose plan for KWin to migrate to wlroots one day, and in fact a hostile fork exists that is exactly that (KWinFT). So a compositor can make use of wlroots to implement Wayland functionality, sway for example does exactly that, unsurprisingly since they’re sister projects by the same author.

    It should be noted that libwayland (mentioned in the patch notes) also exist, and wlroot actually depends on it, so I guess libwayland is like the lower level stuff while wlroots saves you some work to integrate libwayland into your compositor; the motto is “Pluggable, composable, unopinionated modules for building a Wayland compositor; or about 60,000 lines of code you were going to write anyway.”