diff options
Diffstat (limited to 'modules/passthrough.nix')
| -rw-r--r-- | modules/passthrough.nix | 25 | 
1 files changed, 3 insertions, 22 deletions
| diff --git a/modules/passthrough.nix b/modules/passthrough.nix index 23afa88..ab68b8e 100644 --- a/modules/passthrough.nix +++ b/modules/passthrough.nix @@ -1,25 +1,6 @@  { pkgs, lib, config, ... }: -let -  # RTX 3070 Ti -  gpuIDs = [ -    "10de:28e0" # Graphics -    "10de:22be" # Audio -  ]; -in { -  boot = { -    initrd.kernelModules = [ -      "vfio_pci" -      "vfio" -      "vfio_iommu_type1" - -      "nvidia" -      "nvidia_modeset" -      "nvidia_uvm" -      "nvidia_drm" -    ]; -    kernelParams = [ -      ("vfio-pci.ids=" + lib.concatStringsSep "," gpuIDs) -    ]; -  }; +{ +  environment.systemPackages = with pkgs; [ +  ];  } | 
