diff options
| author | Raghuram Subramani <raghus2247@gmail.com> | 2024-06-18 12:22:04 +0530 | 
|---|---|---|
| committer | Raghuram Subramani <raghus2247@gmail.com> | 2024-06-18 12:22:04 +0530 | 
| commit | fae3bcc8c9a51e5315d01139b3ae39c0178fee6c (patch) | |
| tree | 80efa6743716598789679ad8eece6d575ae7bbf4 /modules/virtualization.nix | |
| parent | 2ef439d8f512b7293e36ad85b4ffb9709f366dfb (diff) | |
update
Diffstat (limited to 'modules/virtualization.nix')
| -rw-r--r-- | modules/virtualization.nix | 31 | 
1 files changed, 17 insertions, 14 deletions
| diff --git a/modules/virtualization.nix b/modules/virtualization.nix index b1c42dd..74a879c 100644 --- a/modules/virtualization.nix +++ b/modules/virtualization.nix @@ -45,18 +45,21 @@      '')    ]; -  # boot.kernelPatches = [ -  #   { -  #     # https://github.com/Kinsteen/win10-gpu-passthrough/blob/main/pat_patch.diff -  #     name = "disable-pat-check"; -  #     patch = ../dist/disable-pat-check.patch; -  #   } -  #   { -  #     # https://aur.archlinux.org/cgit/aur.git/tree/1001-6.8.0-add-acs-overrides.patch?h=linux-vfio -  #     name = "acso"; -  #     patch = ../dist/acso.patch; -  #   } -  # ]; - -  boot.kernelParams = [ /* "skippatcheck" */ "pcie_acs_override=downstream,multifunction" ]; +  # Use the custom kernel package set +  boot.kernelPackages = pkgs.linuxPackages_latest; + +  boot.kernelPatches = [ +    { +      # https://github.com/Kinsteen/win10-gpu-passthrough/blob/main/pat_patch.diff +      name = "disable-pat-check"; +      patch = ../dist/disable-pat-check.patch; +    } +    { +      # https://aur.archlinux.org/cgit/aur.git/tree/1001-6.8.0-add-acs-overrides.patch?h=linux-vfio +      name = "acso"; +      patch = ../dist/acso.patch; +    } +  ]; + +  boot.kernelParams = [ "skippatcheck" "pcie_acs_override=downstream,multifunction" ];  } | 
