nixos containers: disable NixOS manual in container config. (#75659)

This makes ~2.5x speed up of an empty container instantiate, hence reduces
rebuild time of system with many declarative containers.

Note that this doesn't affect production systems much, becaseu those most
likely already include `minimal.nix` profile.

Changed files
+9
nixos
doc
manual
release-notes
modules
virtualisation
+8
nixos/doc/manual/release-notes/rl-2003.xml
···
choices (whether to perform the action as themselves with wheel permissions, or as the root user).
</para>
</listitem>
</itemizedlist>
</section>
···
choices (whether to perform the action as themselves with wheel permissions, or as the root user).
</para>
</listitem>
+
<listitem>
+
<para>
+
NixOS containers no longer build NixOS manual by default. This saves evaluation time,
+
especially if there are many declarative containers defined. Note that this is already done
+
when <literal>&lt;nixos/modules/profiles/minimal.nix&gt;</literal> module is included
+
in container config.
+
</para>
+
</listitem>
</itemizedlist>
</section>
+1
nixos/modules/virtualisation/container-config.nix
···
nix.optimise.automatic = mkDefault false; # the store is host managed
services.udisks2.enable = mkDefault false;
powerManagement.enable = mkDefault false;
networking.useHostResolvConf = mkDefault true;
···
nix.optimise.automatic = mkDefault false; # the store is host managed
services.udisks2.enable = mkDefault false;
powerManagement.enable = mkDefault false;
+
documentation.nixos.enable = mkDefault false;
networking.useHostResolvConf = mkDefault true;