From b887ec296a95682e689a36065ae64c24d999d843 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gabriel=20N=C3=BCtzi?= Date: Sat, 17 Aug 2024 13:05:28 +0200 Subject: [PATCH] fix: update fix to a closer version which fixes this --- tuxedo/pulse/14/gen3/README.md | 4 ++-- tuxedo/pulse/14/gen3/default.nix | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tuxedo/pulse/14/gen3/README.md b/tuxedo/pulse/14/gen3/README.md index e419ae4..dbbd783 100644 --- a/tuxedo/pulse/14/gen3/README.md +++ b/tuxedo/pulse/14/gen3/README.md @@ -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`. diff --git a/tuxedo/pulse/14/gen3/default.nix b/tuxedo/pulse/14/gen3/default.nix index fb4aa24..34cca9a 100644 --- a/tuxedo/pulse/14/gen3/default.nix +++ b/tuxedo/pulse/14/gen3/default.nix @@ -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