From 79df59131ee027868739a025a6336c475a906ac6 Mon Sep 17 00:00:00 2001 From: Alex Mickelson Date: Sat, 15 Feb 2025 10:41:47 -0700 Subject: [PATCH] pci passthrough --- nix/modules/pci-passthrough.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nix/modules/pci-passthrough.nix b/nix/modules/pci-passthrough.nix index f1de1a2..0a65e44 100644 --- a/nix/modules/pci-passthrough.nix +++ b/nix/modules/pci-passthrough.nix @@ -19,7 +19,7 @@ in { pkgs, lib, config, ... }: { kernelParams = [ "intel_iommu=on" - ] ++ lib.optional cfg.enable + ] ++ # isolate the GPU ("vfio-pci.ids=" + lib.concatStringsSep "," gpuIDs); };