this post was submitted on 23 May 2025
55 points (98.2% liked)

Nix / NixOS

2310 readers
1 users here now

Main links

Videos

founded 2 years ago
MODERATORS
top 16 comments
sorted by: hot top controversial new old
[–] [email protected] 4 points 1 month ago

I've upgraded my vms. No problems so far. But i don't use many features any way.

[–] [email protected] 3 points 1 month ago

Nice! When do the official AMIs get released?

[–] [email protected] 3 points 1 month ago (1 children)

Nice! Time to update my channels.

[–] [email protected] 2 points 1 month ago (3 children)

Why aren’t you using a flake?

[–] [email protected] 11 points 1 month ago (2 children)

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.

[–] [email protected] 5 points 1 month ago (1 children)

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

[–] [email protected] 2 points 3 weeks ago (1 children)
[–] [email protected] 1 points 3 weeks ago

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.

[–] [email protected] 3 points 1 month ago (1 children)

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

[–] [email protected] 2 points 1 month 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!

[–] [email protected] 5 points 1 month ago (1 children)

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.

[–] [email protected] 6 points 1 month ago

This helped me get my brain around flakes

https://nixos-and-flakes.thiscute.world/

[–] [email protected] 2 points 1 month ago (1 children)

Is there an easy way to swap over?

[–] [email protected] 2 points 1 month ago (1 children)

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 .

[–] [email protected] 3 points 3 weeks ago (1 children)

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

[–] [email protected] 1 points 3 weeks ago