flakes/cfg/winter/kernel.nix
LavaDesu 1f62998065
split custom kernel into overlay
also bump to 5.11.20 and add features thing so nix knows it has 32-bit
emulation
also added winesync
2021-05-15 08:33:06 +07:00

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