summary refs log tree commit diff
path: root/nixos/tests/installer.nix
diff options
context:
space:
mode:
authorAtemu <atemu.main@gmail.com>2021-01-10 13:41:09 +0100
committerAtemu <atemu.main@gmail.com>2021-01-10 13:45:14 +0100
commit71590db8fbe50340f44b241a6718986d6300314f (patch)
treea6d773e981e26057886ef2f165941bf23eeec7b5 /nixos/tests/installer.nix
parent257cbbcd3ab7bd96f5d24d50adc807de7c82e06d (diff)
downloadnixpkgs-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.nix2
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