1
0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-06-01 18:43:34 +02:00
nixos-hardware/lenovo/ideapad/s145-15api/default.nix

19 lines
504 B
Nix

{ 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
'';
}