nix: increase cpu count
Some checks failed
Tests / Go tests (push) Successful in 38s
Nix / NixOS tests (push) Has been cancelled

This improves performance, especially when kvm is inaccessible.

Signed-off-by: Ophestra Umiker <cat@ophivana.moe>
This commit is contained in:
Ophestra 2024-12-18 14:21:08 +09:00
parent 2efedf56c0
commit 2b0449fb7a
Signed by: cat
SSH Key Fingerprint: SHA256:gQ67O0enBZ7UdZypgtspB2FDM1g3GVw8nX0XSdcFw8Q
2 changed files with 11 additions and 2 deletions

4
fipc/ipc.go Normal file
View File

@ -0,0 +1,4 @@
// Package fipc exports types useful for talking to fortify.
package fipc
// TODO

View File

@ -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;