News for hackers. Stuff that matters.
Re:Nix journey part 0: Learning and reference materials by zach_mitchell on Wednesday March 01, 2023 @02:35PM (#34987165)
Author here if anyone has questions
Re:Nix journey part 0: Learning and reference materials by clem on Wednesday March 01, 2023 @02:55PM (#34987417)
Any good resources on how to use flakes? I'm currently experimenting with having home-manager work via a flake but I haven't come across any good HOWTOs on common operations. For example, I'd like to update the flake dependencies similar to how I used to use "nix-channel --update" to freshen the dependencies used by home-manager.
Re:Nix journey part 0: Learning and reference materials by JamesSwift on Wednesday March 01, 2023 @03:20PM (#34987752)
This is a script I run every monday when I come into work to get the latest updates on my system [1]. It prints the flake hash when it runs, so I can also rollback if there are issues.

[1] - https://gist.github.com/J-Swift/a4dad59843f1a1f512a72308031b...

Re:Nix journey part 0: Learning and reference materials by zach_mitchell on Wednesday March 01, 2023 @03:29PM (#34987854)
Here you go:

https://nixos.wiki/wiki/Flakes

https://tonyfinn.com/blog/nix-from-first-principles-flake-ed...

The second link appears to be down at the moment so check back later.

Re:Nix journey part 0: Learning and reference materials by Filligree on Wednesday March 01, 2023 @02:59PM (#34987472)
"nix flake update" should be able to do that.
Re:Nix journey part 0: Learning and reference materials by SkyMarshal on Wednesday March 01, 2023 @04:40PM (#34988722)
Re:Nix journey part 0: Learning and reference materials by ParetoOptimal on Wednesday March 01, 2023 @11:46PM (#34992117)