mirror of
https://github.com/ryan4yin/nixos-and-flakes-book.git
synced 2025-03-13 23:58:51 +01:00
[Little Change]:rewrite about "emit declaration of config
"
This commit is contained in:
parent
53bfe60ff5
commit
a554b6029d
@ -202,9 +202,9 @@ for `foo` by setting the `options` defined here. For example:
|
||||
```
|
||||
|
||||
In the example above, the way we assign values to `options` is actually a kind of
|
||||
**abbreviation**. When a module declares only `options` without `config` (and other
|
||||
special parameters of the module system), we can omit the `config` prefix and directly use
|
||||
the name of `options` for assignment.
|
||||
**abbreviation**. When a module only contains `config` without any other delcaration (like `option` and other
|
||||
special parameters of the module system), we can omit the `config` wrapping , just directly write the
|
||||
content of `config` to assign value to `option` section declared in other modules!
|
||||
|
||||
## Assignment and Lazy Evaluation in the Module System
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user