mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 19:33:03 +00:00
Added some more kernel options advised by PowerTOP.
svn path=/nixpkgs/trunk/; revision=9373
This commit is contained in:
parent
8036507a29
commit
dd9777e091
@ -2788,7 +2788,23 @@ rec {
|
||||
extraConfig = "CONFIG_TIMER_STATS=y\n";
|
||||
}
|
||||
] else [])
|
||||
|
||||
++
|
||||
(if (getConfig ["kernel" "usb_suspend"] false) then [
|
||||
{
|
||||
name = "Enable-USB_SUSPEND";
|
||||
patch = ../lib/empty.file;
|
||||
extraConfig = "CONFIG_USB_SUSPEND=y\n";
|
||||
}
|
||||
] else [])
|
||||
++
|
||||
(if (getConfig ["kernel" "no_irqbalance"] false) then [
|
||||
{
|
||||
name = "Disable-IRQBALANCE";
|
||||
patch = ../lib/empty.file;
|
||||
extraConfig = "# CONFIG_IRQBALANCE is not set\n";
|
||||
}
|
||||
] else [])
|
||||
|
||||
;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user