seperate qemu settings
All checks were successful
Activate Homelab Configuration / rebuild (push) Successful in 34s

This commit is contained in:
Satria 2026-04-15 13:14:23 +07:00
commit 4050b28ee3
2 changed files with 17 additions and 3 deletions

View file

@ -1,8 +1,8 @@
{ ... }: { { ... }: {
imports = [ imports = [
# ./misc/cpu-hotplug.nix ./misc/cpu-hotplug.nix
# ./misc/serial.nix ./misc/serial.nix
# ./misc/qemu-virtio.nix ./misc/qemu-virtio.nix
# ^^ only used if vm # ^^ only used if vm
./core/firmware.nix ./core/firmware.nix

View file

@ -0,0 +1,14 @@
{ ... }: {
boot.initrd.availableKernelModules = [
"virtio_net"
"virtio_pci"
"virtio_mmio"
"virtio_blk"
"virtio_scsi"
"virtio_console"
];
services = {
qemuGuest.enable = true;
spice-vdagentd.enable = true;
};
}