this post was submitted on 08 Sep 2023
34 points (97.2% liked)
Nix / NixOS
1777 readers
1 users here now
Main links
Videos
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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
I learned to use them by looking at repos online that came with a flake.nix.
Also there’s this blog article that was helpful getting started: https://tonyfinn.com/blog/nix-from-first-principles-flake-edition/nix-7-what-about-flakes-then/
Flakes aren’t much different from regular nix configs, except that they explicitly declare their sources by url. Rather than using whatever “home-manager” your system has on it, the flake says “go get home-manager from this location and use it”.
The extra level of control makes for more reproducible configs by isolating dependencies from the system paths. At least in theory.
You're a good nugget! ♥ Thanks a lot!!