also bump to 5.11.20 and add features thing so nix knows it has 32-bit emulation also added winesync
26 lines
574 B
Nix
26 lines
574 B
Nix
{ config, pkgs, ...}: {
|
|
powerManagement.cpuFreqGovernor = "performance";
|
|
boot = {
|
|
loader = {
|
|
systemd-boot.enable = true;
|
|
efi.canTouchEfiVariables = true;
|
|
};
|
|
blacklistedKernelModules = [
|
|
"uvcvideo"
|
|
];
|
|
initrd = {
|
|
includeDefaultModules = false;
|
|
kernelModules = [ "i915" ];
|
|
};
|
|
kernel.sysctl = {
|
|
"kernel.sysrq" = 1;
|
|
};
|
|
kernelParams = [
|
|
"amdgpu.gpu_recovery=1"
|
|
"amdgpu.si_support=1"
|
|
"radeon.si_support=0"
|
|
"intel_pstate=passive"
|
|
];
|
|
kernelPackages = pkgs.linux-lava;
|
|
};
|
|
}
|