nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
fork

Configure Feed

Select the types of activity you want to include in your feed.

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.

authored by

Danylo Hlynskyi and committed by
GitHub
d206f230 9696d79f

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