aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorOphestra Umiker <cat@ophivana.moe>2024-12-18 15:32:52 +0900
committerOphestra Umiker <cat@ophivana.moe>2024-12-18 15:32:52 +0900
commitbbace8f84bfcdff7f6b769b129faac33d44bcb52 (patch)
tree16b43befb7b65dfe3111ec9b8aa7380edd27bb94
parent2efedf56c01aac28c7317ac433a6f4504afab7ec (diff)
nix: increase cpu count
This improves performance, especially when kvm is inaccessible. Signed-off-by: Ophestra Umiker <cat@ophivana.moe>
-rw-r--r--test.nix9
1 files changed, 7 insertions, 2 deletions
diff --git a/test.nix b/test.nix
index a25a980f..00bcba45 100644
--- a/test.nix
+++ b/test.nix
@@ -77,8 +77,13 @@ nixosTest {
programs.sway.enable = true;
- # Need to switch to a different GPU driver than the default one (-vga std) so that Sway can launch:
- virtualisation.qemu.options = [ "-vga none -device virtio-gpu-pci" ];
+ virtualisation.qemu.options = [
+ # Need to switch to a different GPU driver than the default one (-vga std) so that Sway can launch:
+ "-vga none -device virtio-gpu-pci"
+
+ # Increase Go test compiler performance:
+ "-smp 8"
+ ];
environment.fortify = {
enable = true;