diff options
| author | Ophestra Umiker <cat@ophivana.moe> | 2024-12-18 15:32:52 +0900 |
|---|---|---|
| committer | Ophestra Umiker <cat@ophivana.moe> | 2024-12-18 15:32:52 +0900 |
| commit | bbace8f84bfcdff7f6b769b129faac33d44bcb52 (patch) | |
| tree | 16b43befb7b65dfe3111ec9b8aa7380edd27bb94 | |
| parent | 2efedf56c01aac28c7317ac433a6f4504afab7ec (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.nix | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -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; |
