Add NixVirt support and GPU passthrough configuration
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user