Skip to content

Commit

Permalink
asus-zephyrus-ga402: remove unused kernel parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
aacebedo authored and Mic92 committed Sep 19, 2023
1 parent 161b027 commit 938f54b
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion asus/zephyrus/ga402/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, ... }:
{ lib, config, ... }:

{
imports = [
Expand All @@ -22,4 +22,11 @@
boot = {
kernelParams = [ "pcie_aspm.policy=powersupersave" ];
};

assertions = [
{
assertion = (lib.versionAtLeast config.boot.kernelPackages.kernel.version "6.2");
message = "The ga402 requires kernel version >=6.2 to ensure that fans are correctly managed. Please upgrade nixpkgs for this system.";
}
];
}

0 comments on commit 938f54b

Please sign in to comment.