diff options
author | Danylo Hlynskyi <abcz2.uprola@gmail.com> | 2019-12-15 18:21:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-15 18:21:52 +0200 |
commit | d206f2304fad797d1ba37c75a80d7251cfec0654 (patch) | |
tree | 6b6c2e1b90655027876fb3c4c89610cd6d09d7f8 /nixos/modules/virtualisation | |
parent | 9696d79fea661c53eb48d280dc4de950d2bdd299 (diff) |
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.
Diffstat (limited to 'nixos/modules/virtualisation')
-rw-r--r-- | nixos/modules/virtualisation/container-config.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/virtualisation/container-config.nix b/nixos/modules/virtualisation/container-config.nix index f7a37d8c9f3b4..6ff6bdd30c20c 100644 --- a/nixos/modules/virtualisation/container-config.nix +++ b/nixos/modules/virtualisation/container-config.nix @@ -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; |