restructure + add vr
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
{ config, pkgs, ... }:
|
||||
let
|
||||
cpuid-fault-emulation = pkgs.callPackage ../../pkgs/cpuid-fault-emulation {
|
||||
kernel = config.boot.kernelPackages.kernel;
|
||||
};
|
||||
in
|
||||
{
|
||||
boot.loader.grub.enable = true;
|
||||
boot.loader.grub.device = "nodev";
|
||||
boot.loader.grub.efiSupport = true;
|
||||
boot.extraModulePackages = [ cpuid-fault-emulation ];
|
||||
|
||||
boot.kernelParams = [
|
||||
"iomem=relaxed"
|
||||
"iommu=pt"
|
||||
"amd_iommu=on"
|
||||
"kvm.ignore_msrs=1"
|
||||
"mitigations=off"
|
||||
"amdgpu.ppfeaturemask=0xffffffff"
|
||||
"clearcpuid=umip"
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user