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.
This commit is contained in:
parent
9696d79fea
commit
d206f2304f
|
@ -243,6 +243,14 @@
|
|||
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><nixos/modules/profiles/minimal.nix></literal> module is included
|
||||
in container config.
|
||||
</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</section>
|
||||
|
||||
|
|
|
@ -10,6 +10,7 @@ with lib;
|
|||
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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue