diff options
author | Atemu <atemu.main@gmail.com> | 2021-01-10 13:41:09 +0100 |
---|---|---|
committer | Atemu <atemu.main@gmail.com> | 2021-01-10 13:45:14 +0100 |
commit | 71590db8fbe50340f44b241a6718986d6300314f (patch) | |
tree | a6d773e981e26057886ef2f165941bf23eeec7b5 /nixos/tests/installer.nix | |
parent | 257cbbcd3ab7bd96f5d24d50adc807de7c82e06d (diff) | |
download | nixpkgs-71590db8fbe50340f44b241a6718986d6300314f.tar nixpkgs-71590db8fbe50340f44b241a6718986d6300314f.tar.gz nixpkgs-71590db8fbe50340f44b241a6718986d6300314f.tar.bz2 nixpkgs-71590db8fbe50340f44b241a6718986d6300314f.tar.lz nixpkgs-71590db8fbe50340f44b241a6718986d6300314f.tar.xz nixpkgs-71590db8fbe50340f44b241a6718986d6300314f.tar.zst nixpkgs-71590db8fbe50340f44b241a6718986d6300314f.zip |
tests/installer: give installer VM more cores
ZFS installer test runtime went from 637s to 380s on my Ryzen 3600
Diffstat (limited to 'nixos/tests/installer.nix')
-rw-r--r-- | nixos/tests/installer.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/tests/installer.nix b/nixos/tests/installer.nix index d80cfb4bd83..a59e088d2ae 100644 --- a/nixos/tests/installer.nix +++ b/nixos/tests/installer.nix @@ -284,7 +284,9 @@ let extraInstallerConfig ]; + # builds stuff in the VM, needs more juice virtualisation.diskSize = 8 * 1024; + virtualisation.cores = 8; virtualisation.memorySize = 1536; # Use a small /dev/vdb as the root disk for the |