1
0
mirror of https://github.com/nix-community/home-manager synced 2024-06-29 09:58:32 +02:00

contributing.md: minor update

This elaborates the instructions for the news entry of new modules.
This commit is contained in:
Robert Helgesson 2020-01-06 11:25:09 +01:00
parent e70912df26
commit ef6674d1d1
No known key found for this signature in database
GPG Key ID: 36BDAA14C2797E89

View File

@ -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