1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-09 09:36:20 +09:00

doc: add release note entry about newly released setup hooks

This commit is contained in:
Pol Dellaiera 2025-05-05 11:21:01 +02:00
parent 05401247c6
commit bd9a7896d1

View file

@ -622,6 +622,11 @@
- A toggle has been added under `users.users.<name>.enable` to allow toggling individual users conditionally. If set to false, the user account will not be created.
- New hooks were added:
- `writableTmpDirAsHomeHook`: This setup hook ensures that the directory specified by the `HOME` environment variable is writable.
- `addBinToPathHook`: This setup hook checks if the `bin/` directory exists in the `$out` output path and, if so, adds it to the `PATH` environment variable.
- `gitSetupHook`: This setup hook sets up a valid Git configuration, including the `user.name` and `user.email` fields.
<!-- To avoid merge conflicts, consider adding your item at an arbitrary place in the list instead. -->
```{=include=} sections