host(renko): gpu passthrough take -1

Changed files
+11 -9
systems
renko
gui
+11 -9
systems/renko/gui/virt.nix
···
-
{ lib, ... }:
+
{ ... }:
{
programs.virt-manager.enable = true;
virtualisation.libvirtd = {
···
};
# GPU Passthrough
-
boot.initrd.kernelModules = [
-
"vfio_pci" "vfio" "vfio_iommu_type1" "amdgpu"
-
];
-
boot.kernelParams = lib.singleton ("vfio-pci.ids=" + lib.concatStringsSep "," [
-
"1002:7480" # GPU video
-
"1002:ab30" # GPU Audio
-
]);
-
virtualisation.spiceUSBRedirection.enable = true;
+
# boot.initrd.kernelModules = [
+
# "vfio_pci" "vfio" "vfio_iommu_type1" "amdgpu"
+
# ];
+
# boot.kernelParams = lib.singleton ("vfio-pci.ids=" + lib.concatStringsSep "," [
+
# "1002:7480" # GPU video
+
# "1002:ab30" # GPU Audio
+
# ]);
+
# virtualisation.spiceUSBRedirection.enable = true;
+
+
# vm performance is still terrible after pinning
}