Add NixVirt support and GPU passthrough configuration

This commit is contained in:
2026-06-11 22:18:01 -03:00
parent 202555c5f1
commit ce79bcd03f
11 changed files with 852 additions and 47 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
# NVIDIA for host desktop.
# NVIDIA for host desktop (disabled when GPU passthrough binds the card to VFIO).
{ config, lib, pkgs, ... }:
{
lib.mkIf (!config.chiasson.system.gpuPassthru.enable) {
boot.kernelParams = [ "snd_hda_core.gpu_bind=0" ];
boot.kernelPackages = lib.mkDefault pkgs.linuxPackages_latest;