diff options
author | Silvan Mosberger <contact@infinisil.com> | 2023-11-14 08:11:41 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-14 08:11:41 +0100 |
commit | e89ad8355524b931cfd02512525d20a6dd73fa5d (patch) | |
tree | 00e19d25ea8344e76a0baffde62a5183ad0cbfcb /nixos/README.md | |
parent | b0eb18fd1d087d371ef1a8d14ee6dd46bdcc9874 (diff) | |
parent | e93a3d7b586022f900f176cf46e7a3bf211cfaf9 (diff) |
Merge pull request #263059 from DanielSidhion/add-doc-convention
doc: commit header convention for documentation changes
Diffstat (limited to 'nixos/README.md')
-rw-r--r-- | nixos/README.md | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/nixos/README.md b/nixos/README.md index d0257e12d9333..07e82bf0ad938 100644 --- a/nixos/README.md +++ b/nixos/README.md @@ -8,6 +8,27 @@ https://nixos.org/nixos and in the manual in doc/manual. You can add new module to your NixOS configuration file (usually it’s `/etc/nixos/configuration.nix`). And do `sudo nixos-rebuild test -I nixpkgs=<path to your local nixpkgs folder> --fast`. +## Commit conventions + +- Make sure you read about the [commit conventions](../CONTRIBUTING.md#commit-conventions) common to Nixpkgs as a whole. + +- Format the commit messages in the following way: + + ``` + nixos/(module): (init module | add setting | refactor | etc) + + (Motivation for change. Link to release notes. Additional information.) + ``` + + Examples: + + * nixos/hydra: add bazBaz option + + Dual baz behavior is needed to do foo. + * nixos/nginx: refactor config generation + + The old config generation system used impure shell scripts and could break in specific circumstances (see #1234). + ## Reviewing contributions When changing the bootloader installation process, extra care must be taken. Grub installations cannot be rolled back, hence changes may break people’s installations forever. For any non-trivial change to the bootloader please file a PR asking for review, especially from \@edolstra. |