mirror of
https://github.com/CHN-beta/nixos.git
synced 2024-10-23 19:28:58 +08:00
move kernelParams
This commit is contained in:
parent
f8b9ba475b
commit
91c72f4e43
@ -12,7 +12,6 @@ inputs:
|
|||||||
options iwlmvm power_scheme=1
|
options iwlmvm power_scheme=1
|
||||||
options iwlwifi uapsd_disable=1
|
options iwlwifi uapsd_disable=1
|
||||||
'';
|
'';
|
||||||
boot.kernelParams = [ "delayacct" "acpi_osi=Linux" ];
|
|
||||||
boot.kernelPatches =
|
boot.kernelPatches =
|
||||||
[
|
[
|
||||||
{ name = "hdmi"; patch = ./hdmi.patch; }
|
{ name = "hdmi"; patch = ./hdmi.patch; }
|
||||||
|
@ -6,7 +6,11 @@
|
|||||||
};
|
};
|
||||||
config =
|
config =
|
||||||
{
|
{
|
||||||
boot.kernelPackages = inputs.pkgs.linuxPackages_xanmod_latest;
|
boot =
|
||||||
|
{
|
||||||
|
kernelParams = [ "delayacct" "acpi_osi=Linux" ];
|
||||||
|
kernelPackages = inputs.pkgs.linuxPackages_xanmod_latest;
|
||||||
|
};
|
||||||
hardware.cpu = builtins.listToAttrs (builtins.map
|
hardware.cpu = builtins.listToAttrs (builtins.map
|
||||||
(name: { inherit name; value = { updateMicrocode = true; }; })
|
(name: { inherit name; value = { updateMicrocode = true; }; })
|
||||||
inputs.config.nixos.kernel.cpu);
|
inputs.config.nixos.kernel.cpu);
|
||||||
|
Loading…
Reference in New Issue
Block a user