ryan4yin / nixos-and-flakes-book

:hammer_and_wrench: :heart: Want to know NixOS & Flakes in detail? Looking for a beginner-friendly tutorial? Then you've come to the right place! 想要学习使用 NixOS 与 Flakes 吗?在寻找一份新手友好的教程?那你可来对地方了!

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add additional explanation in "Managing the Configuration with Git" section

nykma opened this issue · comments

Thank you for this awesome guide. IMHO there is one more very important piece of information that needs to be added to this section:

After you git init the configuration folder, you have to git add all the files into the staged status before you do the nixos-rebuild switch, otherwise you will see a very unclear error message.

Thank you.

Updated, thanks for the feedback!