move kernelParams

This commit is contained in:
陈浩南 2023-07-15 22:12:29 +08:00
parent f8b9ba475b
commit 91c72f4e43
2 changed files with 5 additions and 2 deletions

View File

@ -12,7 +12,6 @@ inputs:
options iwlmvm power_scheme=1
options iwlwifi uapsd_disable=1
'';
boot.kernelParams = [ "delayacct" "acpi_osi=Linux" ];
boot.kernelPatches =
[
{ name = "hdmi"; patch = ./hdmi.patch; }

View File

@ -6,7 +6,11 @@
};
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
(name: { inherit name; value = { updateMicrocode = true; }; })
inputs.config.nixos.kernel.cpu);