lenovo/legion/16arha7: fix kernel check for speaker patch
This commit is contained in:
parent
72b83c838d
commit
dfe45103b6
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue