lenovo/legion/16arha7: fix kernel check for speaker patch

This commit is contained in:
Aires 2024-07-30 20:08:35 -04:00 committed by mergify[bot]
parent 72b83c838d
commit dfe45103b6

View file

@ -14,8 +14,8 @@ in
../../../common/pc/laptop/ssd
];
# Kernel 6.9 includes the speaker fix, so only install this on systems with older kernels.
boot.extraModulePackages = lib.mkIf (!(lib.versionOlder config.boot.kernelPackages.kernel.version "6.9")) [ lenovo-speaker-fix ];
# Kernel 6.10 includes the speaker fix, so only install this on systems with older kernels.
boot.extraModulePackages = lib.mkIf (lib.versionOlder config.boot.kernelPackages.kernel.version "6.10") [ lenovo-speaker-fix ];
# √(2560² + 1600²) px / 16 in ≃ 189 dpi
services.xserver.dpi = 189;