• LalSalaamComrade@lemmy.ml
    link
    fedilink
    arrow-up
    13
    arrow-down
    2
    ·
    11 months ago

    The more you use Nix, the more you realize how limited the language is. Yes, it is really easy to read, and you probably don’t even need prior experience in functional languages, but after seeing how there’s Python, Shell and Ruby script inside the NixOS/nixpkgs repo for automation, like for example, this update.py for Vim, I wish they had used either Haskell, Erlang or at least some variant of ML, Lisp or Scheme instead. No, I don’t hate NixOS, and I’ll still probably stick to using it on my current laptop, but for my new future machine, I’ll be making the switch to Guix after learning the language.

    • MadMaurice@discuss.tchncs.de
      link
      fedilink
      arrow-up
      8
      ·
      edit-2
      11 months ago

      You do realize that updating is a non-deterministic process, right? The entire point of the nix language is to be deterministic. And the only thing these update scripts do is generate new nix code. It’s not like the nix part of nixpkgs calls these scripts during evaluation because “how limited the language is”. It’s literally just a script that does automated work for the package maintainers.

  • mintycactus@lemmy.world
    link
    fedilink
    arrow-up
    10
    ·
    11 months ago

    I tried allready, the concept is solid, but nix language is incredibly frustrating, you spend too much time to find even package names, config options, to read documentation, to improve your configuration overall lol, you just do weird Linux, not things. I even found there is a Snowflake OS, which try to make it user-friendly, it even successes to some extend, yet it is questionable and limited, it hides things you should learn instead.

    • 0x4E4F@infosec.pub
      link
      fedilink
      English
      arrow-up
      3
      ·
      11 months ago

      It may be useful for advanced users that just don’t have time to bother with dependency hell… but, that’s about it IMO.

  • Infiltrated_ad8271@kbin.social
    link
    fedilink
    arrow-up
    10
    arrow-down
    1
    ·
    11 months ago

    I find it hard to rate it positively, I see additional work and problems to solve things that have never been a problem for me. The last points are especially worthless with distrobox.

    • tony@lemmy.hoyle.me.uk
      link
      fedilink
      arrow-up
      3
      arrow-down
      1
      ·
      11 months ago

      I’m the same… I setup a VM but it was so much work just to setup a basic machine with ssh I gave up on it… I’m also no sure moving all the config out of /etc into a script is scaleable at all. I get that by copying the script from one machine to another you can duplicate configs… but we already have ansible for that.

    • GustavoM@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      arrow-down
      2
      ·
      11 months ago

      Indeed – why switching to a distro that tries to “reinvent the wheel”? Or even less so, one that makes (basic) things worse for the sake of “pros only”?

      • redw0rm@kerala.party
        link
        fedilink
        arrow-up
        4
        arrow-down
        1
        ·
        11 months ago

        Probably that if possible, you can link to original article from itsfoss. And possibly for all such news ( unless its overly bloated / behind a paywall )

        • retiolus@lemmy.catOP
          link
          fedilink
          arrow-up
          5
          ·
          edit-2
          11 months ago

          I shared the article through my link precisely because the site is “overly bloated” with ads…

          screenshot

          If that’s a problem, no trouble, I’ll share the original links from now on!

      • Oliver Lowe@lemmy.sdf.org
        link
        fedilink
        arrow-up
        2
        ·
        11 months ago

        Sorry my comment was really snarky - I apologise. Long day! I’ll do better in the future :)

        There has been criticism of this listicle format. Critics claim they are clickbait and machinated recycling of information/ideas. Listicles seem to exist to just get more ad impressions over entertaining and informing the reader.

        The original article on the original site feels a bit like that. Loads of ads, with just one link to the actual nixos website, mid-sentence, towards the bottom of the article (where the majority of readers never get to).

        • retiolus@lemmy.catOP
          link
          fedilink
          arrow-up
          1
          ·
          11 months ago

          No worries, and as I was saying, that’s why I’ve shared the article through my site, without ads

  • russjr08@outpost.zeuslink.net
    link
    fedilink
    English
    arrow-up
    7
    ·
    11 months ago

    I find the concept of NixOS to be incredibly cool, and in terms of immutable operating systems it would in theory be one that I’m really interested in!

    But the last time I tried it, I found that I was constantly fighting the system, and the documentation is all over the place and confusing. There’s things like “Oh hey use Flakes!” but then most of the documentation doesn’t really cover Flakes because it’s still considered experimental, yet it feels like the majority of the community uses it.

    I also had software that would just randomly break, and when trying to track down the changes from Nixpkgs I couldn’t find anything that would prompt why it broke. Which… seems counterproductive to one of the strong points of Nix.

    One example I ran into, is OpenRazer - the service is no longer being exposed and was reported 7 months ago. I did my best to try to track down the changes that broke it, but I suspect it’s possibly a lower level change outside of the OpenRazer package/module that caused it to break.

    I get the impression that if I wanted to try to fix it, I’d have to take on the massive gauntlet of understanding how all of NixOS’ internals work, and while yes someday I’d love to have a better understanding, right now I’m more focused on just making sure the things I’d like (or even need in some cases, like software for my job) just works.

  • iHUNTcriminals@lemm.ee
    link
    fedilink
    arrow-up
    8
    arrow-down
    1
    ·
    11 months ago

    all articles that have a headline like that means it’s bullshit. …even if it’s not bullshit.

  • TDCN@feddit.dk
    link
    fedilink
    arrow-up
    4
    ·
    11 months ago

    I’ve been ripe for testing nix out for a while now, and I’m super excited. I just don’t have a machine to test it on first, and I absolutely hate dual booting. If I have energy one day maybe I’ll setup a VM to test it out in. I’m really hopeful to have it as my main daily driver os especially for its portability and stability.

    • jellyfish@beehaw.org
      link
      fedilink
      arrow-up
      2
      ·
      11 months ago

      Nix is a great os to start in a container with. Because then you can come the mic files you developed there anywhere and have the same setup with one command