framework: fix TRRS headphones modprobe

This commit is contained in:
Léana 江 authored and mergify[bot] committed 2025-03-22 08:20:01 +00:00
1 parent daaae13dff
commit 380ed15bcd
2 files changed
+6 -4

No files matched your search

+3 -2
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
'';
+3 -2
View File
@@ -1,4 +1,5 @@
{ lib, pkgs, ... }: {
{ lib, config, ... }:
{
imports = [
../../../common/pc/laptop
../../../common/pc/laptop/ssd
@@ -9,7 +10,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
'';