NixOS / nixos-hardware

A collection of NixOS modules covering hardware quirks.
Creative Commons Zero v1.0 Universal
2.08k stars 644 forks source link

Adding a sound speaker fix. Issue #1039 #1227

Closed felipelalli closed 3 weeks ago

felipelalli commented 3 weeks ago
Description of changes

I found a (temporary?) solution at:

New Lenovo Legion 7 Pro (2023) no sound from speakers in Linux (Reddit)

It worked to me.

I added it to my configuration file:

{ config, lib, pkgs, modulesPath, ... }:

{

  boot.extraModprobeConfig = ''
    options snd-hda-intel model=auto
  '';

  boot.blacklistedKernelModules = [ "snd_soc_avs" ];
}
Things done
Mic92 commented 3 weeks ago

@mergify rebase

mergify[bot] commented 3 weeks ago

rebase

❌ Pull request can't be updated with latest base branch changes

Mergify needs the author permission to update the base branch of the pull request. @noksys needs to [authorize modification on its head branch](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/allowing-changes-to-a-pull-request-branch-created-from-a-fork).
Mic92 commented 3 weeks ago

@felipelalli can you rebase so we can see the CI going green?

Mic92 commented 3 weeks ago

merged in https://github.com/NixOS/nixos-hardware/pull/1229