mirror of
https://github.com/CHN-beta/nixos.git
synced 2024-10-22 21:18:44 +08:00
add acpi workaround
This commit is contained in:
parent
75e2b84c4c
commit
59dbfaa70f
@ -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 =
|
||||
|
@ -80,6 +80,7 @@ inputs:
|
||||
};
|
||||
};
|
||||
firefox.programs.firefox.enable = inputs.lib.mkForce false;
|
||||
acpi.boot.kernelParams = [ ''acpi_osi="Windows 2022"'' ];
|
||||
};
|
||||
in
|
||||
{
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user