add acpi workaround

This commit is contained in:
陈浩南 2023-12-18 21:04:42 +08:00
parent 75e2b84c4c
commit 59dbfaa70f
3 changed files with 3 additions and 2 deletions

View File

@ -202,7 +202,7 @@
bugs =
[
"intel-hdmi" "suspend-hibernate-no-platform" "hibernate-iwlwifi" "suspend-lid-no-wakeup" "xmunet"
"suspend-hibernate-waydroid"
"suspend-hibernate-waydroid" "acpi"
];
};
vps6 =

View File

@ -80,6 +80,7 @@ inputs:
};
};
firefox.programs.firefox.enable = inputs.lib.mkForce false;
acpi.boot.kernelParams = [ ''acpi_osi="Windows 2022"'' ];
};
in
{

View File

@ -33,7 +33,7 @@ inputs:
] ++ kernel.modules.initrd ++ (if (!kernel.useLts) then [ "lenovo-yogabook" ] else []);
extraModulePackages = (with inputs.config.boot.kernelPackages; [ v4l2loopback ]) ++ kernel.modules.install;
extraModprobeConfig = builtins.concatStringsSep "\n" kernel.modules.modprobeConfig;
kernelParams = [ "delayacct" "acpi_osi=Linux" ];
kernelParams = [ "delayacct" ];
kernelPackages = inputs.pkgs."linuxPackages_xanmod${if kernel.useLts then "" else "_latest"}";
kernelPatches =
let