I agree that dockerfile’s are not very reproducible. But honestly, that’s not how most people use it. I believe most people just pull the already built image which is very reproducible. Anyways, I found this video interesting and thought I’d share it and get your guys thoughts.

    • Nate Cox@programming.dev
      link
      fedilink
      English
      arrow-up
      4
      ·
      1 year ago

      I’ll disagree with the above. I’ve been using flakes for over a year now for my projects and they are fantastic for both personal use and for distributing along with a public repository.

      I’ve been able to dump both Docker and asdf-vm for flake files with direnv, and am very happy with the workflow.

      • SciPiTie @iusearchlinux.fyi
        link
        fedilink
        English
        arrow-up
        3
        ·
        1 year ago

        Isn’t you disagreeing proving OPs point concerning the splitting of the community? :)

        That said: I’m completely new to nix and just like op described couldn’t get my hands on in depth primary documentation or references - could you help me there and point me to a good starting point?

        Thanks in advance!

        • Nate Cox@programming.dev
          link
          fedilink
          English
          arrow-up
          3
          ·
          1 year ago

          Honestly the great failing of nix is that the new user experience is utterly terrible. I personally bounced off nix several times before I finally just grit my teeth and embraced the suck.

          I think the best you can really do is look at the community. The nix project does have documentation but it is indecipherable, and I say this as someone who mostly likes nix and uses it daily.

          https://zero-to-nix.com is a pretty good resource. I think they’re trying a bit hard to “framework” nix that maybe isn’t my preference, but the getting started guide is the best I’ve found so far.

          Also, use your search engine of choice to find articles on nix, home-manager, nix-darwin (if you’re using a Mac), and find repos out there of other people’s dotfiles. Then get used to confusion and frustration for a while.

          I still think that it has been worth it for me, personally… but there is real pain in the learning.

          • @natecox It is exactly this steep learning curve that pushed me away from nix and NixOS.

            It’s amazing what it can do but I just do not have the time and commitment to learn it. In the end, nix should be a tool and not a skill to master.

          • SciPiTie @iusearchlinux.fyi
            link
            fedilink
            English
            arrow-up
            1
            ·
            1 year ago

            Thanks for the link and tips! Do you have something similar specific to flakes? The basic concepts seem straight forward and actually chatgpt was of great help so far - but I can’t get the feet on the ground with these fancy new packages :D