mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-23 03:19:42 +01:00
fix: update fix to a closer version which fixes this
This commit is contained in:
parent
966ed3f8eb
commit
b887ec296a
2 changed files with 4 additions and 4 deletions
|
@ -11,5 +11,5 @@ Gen3](https://www.tuxedocomputers.com/en/TUXEDO-Pulse-14-Gen3).
|
|||
### Shutdown and Power Issues
|
||||
|
||||
With the Linux Kernel version `6.6.33` (NixOS 24.05) there are shutdown issues resulting in the battery not turning off
|
||||
completely. Apparently a newer Kernel (tested with `6.8.12`) fixes this (the exact version where this problem is fixed is unknown).
|
||||
This `default.nix` will upgrade to the `pkgs.linuxPackages_latest` if the kernel is older than `6.8.12`.
|
||||
completely. Apparently a newer Kernel (tested with `6.6.35`) fixes this (the exact version where this problem is fixed is unknown).
|
||||
This `default.nix` will upgrade to the `pkgs.linuxPackages_latest` if the kernel is older than `6.6.35`.
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue