This commit is contained in:
LavaDesu 2021-05-11 14:32:58 +07:00
commit 2448f2fc1b
Signed by: cilly
GPG key ID: 6500251E087653C9
9 changed files with 285 additions and 0 deletions

19
cfg/winter/kernel.nix Normal file
View file

@ -0,0 +1,19 @@
{ config, pkgs, ...}: {
powerManagement.cpuFreqGovernor = "performance";
boot = {
loader = {
systemd-boot.enable = true;
efi.canTouchEfiVariables = true;
};
blacklistedKernelModules = [
"uvcvideo"
];
kernelParams = [
"amdgpu.gpu_recovery=1"
"amdgpu.si_support=1"
"radeon.si_support=0"
"intel_pstate=passive"
];
kernelPackages = pkgs.linuxPackages_lqx;
};
}