diff --git a/index.xhtml b/index.xhtml index 8d00379df..403f035fe 100644 --- a/index.xhtml +++ b/index.xhtml @@ -975,10 +975,10 @@ contains the commit message


 

which ticks all the boxes necessary to be accepted in Home Manager.

Finally, when adding a new module, say programs/foo.nix, we use the fixed commit format foo: add module. You can, of course, still include a long description if you wish.

-

Code Style

The code in Home Manager is formatted by the -nixfmt tool and the formatting is -checked in the pull request tests. Run the format tool inside the -project repository before submitting your pull request.

Keep lines at a reasonable width, ideally 80 characters or less. This +

Code Style

The code in Home Manager is formatted by the treefmt tool +and the formatting is checked in the pull request tests. Run nix fmt or +treefmt (with required formatters which can be found in treefmt.toml in your +$PATH) inside the project repository before submitting your pull request.

Keep lines at a reasonable width, ideally 80 characters or less. This also applies to string literals.

We prefer lowerCamelCase for variable and attribute names with the accepted exception of variables directly referencing packages in Nixpkgs which use a hyphenated style. For example, the Home Manager option