mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-05 17:38:41 +08:00
fix: update fix to a closer version which fixes this
This commit is contained in:
committed by
mergify[bot]
parent
966ed3f8eb
commit
b887ec296a
@@ -14,9 +14,9 @@
|
||||
|
||||
# Fixing a power-issue with older kernels.
|
||||
# When powered off, the battery does not turn off completely.
|
||||
# Kernel 6.8.12 fixes this,
|
||||
# Kernel 6.6.35 apparently does not have this issue,
|
||||
# the exact version is still unknown which fixed this.
|
||||
boot.kernelPackages = lib.mkIf (lib.versionOlder pkgs.linux.version "6.8.12") (
|
||||
boot.kernelPackages = lib.mkIf (lib.versionOlder pkgs.linux.version "6.6.35") (
|
||||
if (config.boot.zfs.enabled)
|
||||
then pkgs.zfs.latestCompatibleLinuxPackages
|
||||
else pkgs.linuxPackages_latest
|
||||
|
||||
Reference in New Issue
Block a user