docs(nix): clarify module file interfaces
This commit is contained in:
@@ -101,7 +101,8 @@ import ./flake {
|
|||||||
|
|
||||||
### Keep NixOS module interfaces open
|
### Keep NixOS module interfaces open
|
||||||
|
|
||||||
NixOS modules accept extra arguments because the module system owns their argument shape.
|
Files under `hosts/`, `guests/`, and `modules/` return NixOS modules.
|
||||||
|
The NixOS module system owns their argument shape.
|
||||||
Name each argument the module uses.
|
Name each argument the module uses.
|
||||||
Keep `...` so the module accepts standard module arguments and special arguments.
|
Keep `...` so the module accepts standard module arguments and special arguments.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user