From bd9a7896d1e9d959d424ef8bc7ac62fe0733aead Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Mon, 5 May 2025 11:21:01 +0200 Subject: [PATCH] doc: add release note entry about newly released setup hooks --- nixos/doc/manual/release-notes/rl-2505.section.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/nixos/doc/manual/release-notes/rl-2505.section.md b/nixos/doc/manual/release-notes/rl-2505.section.md index ebbd62adee7c..f8c9462b26b0 100644 --- a/nixos/doc/manual/release-notes/rl-2505.section.md +++ b/nixos/doc/manual/release-notes/rl-2505.section.md @@ -622,6 +622,11 @@ - A toggle has been added under `users.users..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. + ```{=include=} sections