nix: increase cpu count
This improves performance, especially when kvm is inaccessible. Signed-off-by: Ophestra Umiker <cat@ophivana.moe>
This commit is contained in:
parent
2efedf56c0
commit
bbace8f84b
9
test.nix
9
test.nix
@ -77,8 +77,13 @@ nixosTest {
|
|||||||
|
|
||||||
programs.sway.enable = true;
|
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 = [
|
||||||
virtualisation.qemu.options = [ "-vga none -device virtio-gpu-pci" ];
|
# 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 = {
|
environment.fortify = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user