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
2b0449fb7a
4
fipc/ipc.go
Normal file
4
fipc/ipc.go
Normal file
@ -0,0 +1,4 @@
|
||||
// Package fipc exports types useful for talking to fortify.
|
||||
package fipc
|
||||
|
||||
// TODO
|
7
test.nix
7
test.nix
@ -77,8 +77,13 @@ nixosTest {
|
||||
|
||||
programs.sway.enable = true;
|
||||
|
||||
virtualisation.qemu.options = [
|
||||
# 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" ];
|
||||
"-vga none -device virtio-gpu-pci"
|
||||
|
||||
# Increase Go test compiler performance:
|
||||
"-smp 8"
|
||||
];
|
||||
|
||||
environment.fortify = {
|
||||
enable = true;
|
||||
|
Loading…
Reference in New Issue
Block a user