mirror of
https://github.com/nix-community/home-manager
synced 2024-11-30 06:59:45 +01:00
contributing.md: minor update
This elaborates the instructions for the news entry of new modules.
(cherry picked from commit ef6674d1d1
)
This commit is contained in:
parent
1d38ffc372
commit
72400b2c29
1 changed files with 8 additions and 5 deletions
|
@ -139,15 +139,18 @@ If you do have a change worthy of a news entry then please add one in
|
||||||
> use 'services.myservice.bar' instead.
|
> use 'services.myservice.bar' instead.
|
||||||
|
|
||||||
- A new module, say `foo.nix`, should always include a news entry
|
- A new module, say `foo.nix`, should always include a news entry
|
||||||
(without any condition) that has a message along the lines of
|
that has a message along the lines of
|
||||||
|
|
||||||
> A new service is available: 'services.foo'.
|
> A new module is available: 'services.foo'.
|
||||||
|
|
||||||
or
|
If the module is platform specific, e.g., a service module using
|
||||||
|
systemd, then a condition like
|
||||||
|
|
||||||
> A new program configuration is available: 'program.foo'.
|
```
|
||||||
|
condition = hostPlatform.isLinux;
|
||||||
|
```
|
||||||
|
|
||||||
depending on the type of module.
|
should be added.
|
||||||
|
|
||||||
[open issues]: https://github.com/rycee/home-manager/issues
|
[open issues]: https://github.com/rycee/home-manager/issues
|
||||||
[new issue]: https://github.com/rycee/home-manager/issues/new
|
[new issue]: https://github.com/rycee/home-manager/issues/new
|
||||||
|
|
Loading…
Reference in a new issue