Skip to content

🛠️ ❤️ An unofficial and opinionated NixOS & Flakes book for beginners.

License

Notifications You must be signed in to change notification settings

riffingonsoftware/nixos-and-flakes-book

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

93 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NixOS & Flakes Book 🛠️ ❤️

An unofficial and opinionated NixOS & Flakes 📖 for beginners: https://nixos-and-flakes.thiscute.world

中文版: https://nixos-and-flakes.thiscute.world/zh/

Feedback and Discussion

Want to discuss the content of this book? Have any questions? Please feel free to open an issue or join the discussion on GitHub Discussions.

Historical feedback and discussion:

中文反馈与相关讨论:

Introduction to Flakes

The flakes experimental feature is a major development for Nix, it introduces a policy for managing dependencies between Nix expressions, it improves reproducibility, composability and usability in the Nix ecosystem. Although it's still an experimental feature, flakes have been widely used by the Nix community.1

Flakes is one of the most significant changes the nix project has ever seen.2

A Word of Caution about Flakes

The benefits of Flakes are evident, and the entire NixOS community has embraced it wholeheartedly. Currently, more than half of the users utilize Flakes3, providing assurance that Flakes will not be deprecated.

⚠️ However, it's important to note that Flakes is still an experimental feature. Some issues persist, and there is a possibility of introducing breaking changes during the stabilization process. The extent of these breaking changes remains uncertain.

Overall, I strongly recommend everyone to use Flakes, especially since this book revolves around NixOS and Flakes. However, it's crucial to be prepared for potential problems that may arise due to forthcoming breaking changes.

Contribution

A real community, however, exists only when its members interact in a meaningful way that deepens their understanding of each other and leads to learning.

If you find something which doesn't make sense, or something doesn't seem right, please make a pull request and please add valid and well-reasoned explanations about your changes or comments.

Before adding a pull request, please see the contributing guidelines.

Thank you to all the people who already contributed to this project!

License

MIT

Footnotes

  1. Flakes - NixOS Wiki

  2. Flakes are such an obviously good thing

  3. Draft: 1 year roadmap - NixOS Foundation

About

🛠️ ❤️ An unofficial and opinionated NixOS & Flakes book for beginners.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Nix 100.0%