• Scipitie@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        11
        ·
        14 days ago

        Not the person you asked but for me:

        It’s because they’re a documentation mess caught in a release/stable discussion that I don’t understand.

        Perhaps that changed in the last year, haven’t looked into them again since then - but unless there’s a trigger (new server setup or official release for example) I simply don’t have the time and energy to invest.

        • TXL@sopuli.xyz
          link
          fedilink
          English
          arrow-up
          5
          ·
          14 days ago

          I still haven’t found a good guide on how to use flakes though I’ve read many. It really is an incredible mess.

        • tobz619@lemmy.world
          link
          fedilink
          English
          arrow-up
          3
          ·
          13 days ago

          As someone who has switched their system to flakes, I really do struggle with them for projects and getting dev-shells. So I use flakes for the system but use a classic shell.nix for my shells

          • Scipitie@lemmy.dbzer0.com
            link
            fedilink
            English
            arrow-up
            2
            ·
            13 days ago

            Oh that’s an approach I haven’t even considered, I es always very … Black and white :D

            Thanks for the inspiration, should I find a bucket of time in the future I’ll give it a shot!

      • StrawberryPigtails@lemmy.sdf.org
        link
        fedilink
        English
        arrow-up
        5
        ·
        13 days ago

        Because I don’t understand them. Last time I looked, the documentation on flakes was minimal to nonexistent. What documentation I did find was all 3rd party and conflicted with each other.

        Granted, that was a 2ish years ago, but I haven’t needed to change anything major, and nothing has broken. My current setup just works.

        • chonkyninja@lemmy.world
          link
          fedilink
          English
          arrow-up
          3
          arrow-down
          1
          ·
          12 days ago

          Write a flake.nix

          Most of whatever you have should be simple to include with one line of code.

          Then once you’re using a flake, updates are as simple as “nix flake update” and “nixos-rebuild boot --flake .

          • axEl7fB5@lemmy.cafe
            link
            fedilink
            English
            arrow-up
            2
            ·
            2 days ago

            And also updating inputs.nixpkgs.url from github:nixos/nixpkgs/nixos-24.11 to github:nixos/nixpkgs/nixos-25.05.