lenovo: add config for ideapad s145-15api

This commit is contained in:
waltz 2023-12-04 16:04:01 -03:00 committed by mergify[bot]
parent fa194fc484
commit c78145fc51
1 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,18 @@
{ lib, ... }:
{
imports = [
../../../common/cpu/amd
../../../common/gpu/amd
../../../common/gpu/amd/southern-islands
];
# Blacklist ideapad-laptop because it keeps resetting rfkill devices
boot.blacklistedKernelModules = [ "ideapad-laptop" ];
# For some reason we have to specify manually which model we want snd-hda-intel to use
# without it external microphone won't work
boot.extraModprobeConfig = ''
options snd-hda-intel model=alc255-acer,dell-headset-multi
'';
}