From e6a8030dabd4fb93646f6aac0f313afb9d5f38c3 Mon Sep 17 00:00:00 2001 From: Ophestra Umiker Date: Wed, 18 Dec 2024 14:21:08 +0900 Subject: [PATCH] nix: increase cpu count This improves performance, especially when kvm is inaccessible. Signed-off-by: Ophestra Umiker --- fipc/ipc.go | 4 ++++ test.nix | 5 ++++- 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 fipc/ipc.go diff --git a/fipc/ipc.go b/fipc/ipc.go new file mode 100644 index 0000000..a353727 --- /dev/null +++ b/fipc/ipc.go @@ -0,0 +1,4 @@ +// Package fipc exports types useful for talking to fortify. +package fipc + +// TODO diff --git a/test.nix b/test.nix index a25a980..cf6813b 100644 --- a/test.nix +++ b/test.nix @@ -78,7 +78,10 @@ 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 = [ + "-vga none -device virtio-gpu-pci" + "-smp 8" + ]; environment.fortify = { enable = true;