framework: fix TRRS headphones modprobe

This commit is contained in:
Léana 江
2025-03-22 00:07:31 +01:00
committed by mergify[bot]
parent daaae13dff
commit 380ed15bcd
2 changed files with 6 additions and 4 deletions

View File

@@ -1,4 +1,5 @@
{ lib, pkgs, ... }: {
{ lib, config, ... }:
{
imports = [
../../../common/pc/laptop
../../../common/pc/laptop/ssd
@@ -10,7 +11,7 @@
# Fix TRRS headphones missing a mic
# https://community.frame.work/t/headset-microphone-on-linux/12387/3
boot.extraModprobeConfig = lib.mkIf (lib.versionOlder pkgs.linux.version "6.6.8") ''
boot.extraModprobeConfig = lib.mkIf (lib.versionOlder config.boot.kernelPackages.kernel.version "6.6.8") ''
options snd-hda-intel model=dell-headset-multi
'';