mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 03:23:29 +03:00
nixos/README.md: relax the requirement of providing option defaults (#334509)
This commit is contained in:
commit
0bd024d34e
1 changed files with 3 additions and 0 deletions
|
@ -84,6 +84,9 @@ Reviewing process:
|
||||||
- Ensure that the introduced options are correct.
|
- Ensure that the introduced options are correct.
|
||||||
- Type should be appropriate (string related types differs in their merging capabilities, `loaOf` and `string` types are deprecated).
|
- Type should be appropriate (string related types differs in their merging capabilities, `loaOf` and `string` types are deprecated).
|
||||||
- Description, default and example should be provided.
|
- Description, default and example should be provided.
|
||||||
|
- Defaults may only be omitted if both:
|
||||||
|
1. The user is required to set the default in order to properly use the service.
|
||||||
|
2. The lack of a default does not break evaluation when the module is not enabled.
|
||||||
- Ensure that module `meta` field is present
|
- Ensure that module `meta` field is present
|
||||||
- Maintainers should be declared in `meta.maintainers`.
|
- Maintainers should be declared in `meta.maintainers`.
|
||||||
- Module documentation should be declared with `meta.doc`.
|
- Module documentation should be declared with `meta.doc`.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue