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); };