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 吗?在寻找一份新手友好的教程?那你可来对地方了!
https://nixos-and-flakes.thiscute.world
Creative Commons Attribution Share Alike 4.0 International
1.69k stars 84 forks source link

Review (typos & minor improvements) #111

Open alecandido opened 4 months ago

alecandido commented 4 months ago

Sorry to bother again: this time, I decided to avoid filing many more issues, and to collect feedback in a single evolving one. ~Maybe it will end up being a list of one element, but~ I want to prevent large noise generation.

Moreover, now I'd prefer reading your book cover-to-cover. When I'll approach the end, I hope I will have some time left and author a PR myself (or multiple, if needed) to fix anything that is still on this list.

Minor improvements

NixOS with flakes enabled

Custom cache servers

Modularize the configuration

Downgrading or Upgrading Packages

Module System and Custom Options

Overriding

Overlays

Custom NIX_PATH and Flake Registry

The Ingenious Uses of Multiple nixpkgs Instances

Packaging 101

Development Environments on NixOS

Dev Environments

ryan4yin commented 3 months ago

Thank you very much for your review. I have just fixed some of the problems and updated them on this issue, and I will continue this work later in my free time.

alecandido commented 3 months ago

@ryan4yin as I wrote above, I wanted to first go through the book, to have a full overview (there are different things that you note during the first reading, or after completion - this issue is to save the first kind).

However, for the remaining ones I will contribute myself :)

This is a great collection, since Nix has valuable docs, but the information is scattered in infinite places, and there is so little for the entry level... So, I found out that I really like to contribute to the book, because then I'll be more confident to tell other people to start using Nix ("it's simple, there's a great book explaining it!").

The only piece I won't be able to contribute to for sure will be the Chinese translation, I'm sorry 😓

ryan4yin commented 3 months ago

I wanted to first go through the book, to have a full overview (there are different things that you note during the first reading, or after completion - this issue is to save the first kind).

Got it.

However, for the remaining ones I will contribute myself :)

This is a great collection, since Nix has valuable docs, but the information is scattered in infinite places, and there is so little for the entry level... So, I found out that I really like to contribute to the book, because then I'll be more confident to tell other people to start using Nix ("it's simple, there's a great book explaining it!").

Very much looking forward to your contribution! :heart:

The only piece I won't be able to contribute to for sure will be the Chinese translation, I'm sorry 😓

It's not a problem. I'll take care of the Chinese part.

ryan4yin commented 3 months ago

FYI: I have just fixed a lot of markup issues & typos via spellchecker & code formatter: #122 #123 #124 #125

alecandido commented 3 months ago

FYI: I have just fixed a lot of markup issues & typos via spellchecker & code formatter: #122 #123 #124 #125

That is great. For ease of writing (and referencing) I would also suggest formatting the files on 80-100 columns. I know this could be controversial, and most editors are able to wrap the lines. But, e.g., the preview of GitHub is not wrapping at all...

ryan4yin commented 3 months ago

I would also suggest formatting the files on 80-100 columns.

Done, Everything seems to be fine after the change. #126

thngz commented 5 days ago

helix example of flake and module system chapter has a small typo in the comment, you probably meant "choose" not "chose"

ryan4yin commented 1 day ago

you probably meant "choose" not "chose"

@thngz Fixed by https://github.com/ryan4yin/nixos-and-flakes-book/commit/dae7350debaa5baf48fcebc0d621ed93d1e3672a