• 3 Posts
  • 258 Comments
Joined 11 months ago
cake
Cake day: August 10th, 2023

help-circle



  • Is that so? From the issue I read there was no way around it because the two images are fundamentally incompatible once you layer that package, you had to remove the layered package, it seemed from the discussion that they might have “fixed” the base image at some point as a pull request was opened on Pagure. I waited a bit for it to go upstream, but nothing happened for a long time and just went thorugh with the manual intervention, and actually, now that I check it again, the maintainer siosm commented that they can’t accept the PR



  • Love the irony, but this is painting a little too good a picture

    Every update is just… meh. Smooth, new, fresh system not affected by my stupid tweaking and breaking

    Most times yes, but major updates usually cause some trouble, like from 39 to 40, you couldn’t do it without uninstalling the codecs for Firefox. Firefox that is installed by default as an RPM, because the Flatpak Firefox doesn’t yet have 100% compatibility with all the features that work with the RPM, so as a user you’re pretty much led to get yourself stuck in this hole, not too difficult to fix in the end, but still a pain to find out and fix.

    Everything else is 100% true! And I think it will be always hard to beat as an implementation of immutability (second place only to NixOS imo), A/B partitioning doesn’t hold a candle to OSTree


  • TL;DR Don’t (unless your needs are really basic or you really don’t want to layer more packages)

    Distrobox ftw, its website is pretty good to find all its features and it has a neat GUI BoxBuddy too! And also the generic Pods can be useful for more advanced needs.

    Extra tip: if you have more time to spend on learning, I think Nix Home Manager will actually be the better solution in the long run, no need to worry about containers breaking in some way after system updates with scattered solutions that are hard to understand and remember, also you get to bring your configuration anywhere





  • Both features are important IMO, reproducibility is for being able to define certain aspects of your machine in a way that you can nuke it and, as long as you have its configuration (declarative for Nix, other implementations might have it as imperative), bring it back just how it was set up, without differences or breakages; while immutability is for being always confident that whatever* you do to your machine, you won’t be able to break it because the root, which holds the functioning core of your system, can’t be messed around with, NixOS has both I believe.

    *not really “whatever”, because there are still some ways to break, but you have to be very deliberate in doing it (think rm -rf /*), but in normal operation you won’t just somehow install something or upgrade your packages and be left with an unusable system







  • I’m honestly not sure how useful that flakehub

    Me neither, I completely skipped over it, but it sounds interesting, maybe it wouldn’t be as wonky as the AUR since it’s Nix at least, idk

    with barely no nix language knowledge I was able to roughly understand what’s going on

    That’s actually great! Maybe I’ll try those as well, since sooner or later I’ll have to learn the Nix language anyways and keeping a purer system is always a good thing if possible.

    Good luck with devbox btw

    edited: how tf did I end up ordering the text like that?



  • Actually I hadn’t heard about nix develop, I came across Devbox pretty randomly

    useless backstory

    I remembered that I once saw a website Zero to Nix (on which I made a silly joke in the past on Reddit, but for the life of me can’t seem to find so it’s probably deleted) that said it would help learn the concepts of Nix, so I opened it just in case, then i saw that there was this FlakeHub banner on top that piqued my curiosity, I was like, is this a nod to Flathub: zero to nix landing page Then I saw this Fleek thing that sounded like Home Manager but more user friendly (?) fleek in the wild Then I saw that it was deprecated so I was back to Home Manager(which in the end was easy enough anyway), but first I checked out their website that mentioned this Devbox thing devbox in the wilder wild

    Between that and the rest, for the whole journey (that took surprisingly little time) I constantly jumped around from one website to another to piece together information and verify that it was accurate and up to date, to avoid messing up at least this one thing 😵‍💫

    So, after I saw it, I went to look into it more and found that it’s like a sort of nix shell for who is used to NPM and the like and I immediately wanted to try it out, because it just sounded like less mental burden then learning yet another thing, which was devenv as far as I got, which I found through these Reddit and Hacker News discussions.
    So for now I feel right at ~ home with it.
    In your experience, do you think using nix develop would slim things down without sacrificing too much comfort?