mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-26 21:09:42 +01:00
lenovo/legion/16arha7: fix kernel check for speaker patch
This commit is contained in:
parent
72b83c838d
commit
dfe45103b6
1 changed files with 2 additions and 2 deletions
|
@ -14,8 +14,8 @@ in
|
||||||
../../../common/pc/laptop/ssd
|
../../../common/pc/laptop/ssd
|
||||||
];
|
];
|
||||||
|
|
||||||
# Kernel 6.9 includes the speaker fix, so only install this on systems with older kernels.
|
# 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.9")) [ lenovo-speaker-fix ];
|
boot.extraModulePackages = lib.mkIf (lib.versionOlder config.boot.kernelPackages.kernel.version "6.10") [ lenovo-speaker-fix ];
|
||||||
|
|
||||||
# √(2560² + 1600²) px / 16 in ≃ 189 dpi
|
# √(2560² + 1600²) px / 16 in ≃ 189 dpi
|
||||||
services.xserver.dpi = 189;
|
services.xserver.dpi = 189;
|
||||||
|
|
Loading…
Reference in a new issue