doc: information at the use-cgroups option on conflicts it can give

as discussed on Zulip and with Lunaphied

Change-Id: I7c6b3e7994c1e7961033e3daf509c81348927baf
This commit is contained in:
helle
2025-10-18 09:51:36 +00:00
parent 6e2edbff93
commit e8d281eac6
+2
View File
@@ -15,3 +15,5 @@ Cgroups requires a cgroup delegation according to <https://systemd.io/CGROUP_DEL
the Nix process (`nix-daemon` or any single user command) should run in a cgroup tree of a parent cgroup which possess the `user.delegate=1` extended attribute.
In this scenario, Nix will run builds in a sibling cgroup named `nix-build-uid-<build user uid>`.
Be aware that this option is incompatible with various [`nix-build`](@docroot@/command-ref/nix-build.md), [`nix-store`](@docroot@/command-ref/nix-store.md), [`nix store`](@docroot@/command-ref/new-cli/nix3-store.md), and [`nix verify`](@docroot@/command-ref/new-cli/nix3-store.md) sub-commands when using a [`local`](@docroot@/command-ref/new-cli/nix3-help-stores.md#local-store) store which will need the option explicitely turned off with the argument `--no-use-cgroups`.