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.
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
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.
16 Comments
snowfalldreamland@lemmy.ml · 4 pts · 1y
I've upgraded my vms. No problems so far. But i don't use many features any way.
StrawberryPigtails@lemmy.sdf.org · 3 pts · 1y
Nice! Time to update my channels.
chonkyninja@lemmy.world · 2 pts · 1y
Why aren’t you using a flake?
Scipitie@lemmy.dbzer0.com · 11 pts · 1y
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.
XTL@sopuli.xyz · 5 pts · 1y
I still haven't found a good guide on how to use flakes though I've read many. It really is an incredible mess.
axEl7fB5@lemmy.cafe · 2 pts · 1y
https://nixos-and-flakes.thiscute.world/preface
XTL@sopuli.xyz · 1 pts · 1y
Thank you. I've seen that one before. Maybe it's time to dive in again. I even have a spare box to try on.
tobz619@lemmy.world · 3 pts · 1y
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.nixfor my shellsScipitie@lemmy.dbzer0.com · 2 pts · 1y
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 · 5 pts · 1y
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.
monkeyslikebananas2@lemmy.world · 6 pts · 1y
This helped me get my brain around flakes
https://nixos-and-flakes.thiscute.world/
beeng@discuss.tchncs.de · 2 pts · 1y
Is there an easy way to swap over?
chonkyninja@lemmy.world · 2 pts · 1y
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 · 3 pts · 1y
And also updating
inputs.nixpkgs.urlfromgithub:nixos/nixpkgs/nixos-24.11togithub:nixos/nixpkgs/nixos-25.05.chonkyninja@lemmy.world · 1 pts · 1y
Yes
monkeyslikebananas2@lemmy.world · 3 pts · 1y
Nice! When do the official AMIs get released?