mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2026-12-06 16:03:29 +01:00
framework: fix TRRS headphones modprobe
This commit is contained in:
1 parent
daaae13dff
commit
380ed15bcd
2 files changed
+6
-4
No files matched your search
@@ -1,4 +1,5 @@
|
|||||||
{ lib, pkgs, ... }: {
|
{ lib, config, ... }:
|
||||||
|
{
|
||||||
imports = [
|
imports = [
|
||||||
../../../common/pc/laptop
|
../../../common/pc/laptop
|
||||||
../../../common/pc/laptop/ssd
|
../../../common/pc/laptop/ssd
|
||||||
@@ -10,7 +11,7 @@
|
|||||||
|
|
||||||
# Fix TRRS headphones missing a mic
|
# Fix TRRS headphones missing a mic
|
||||||
# https://community.frame.work/t/headset-microphone-on-linux/12387/3
|
# 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
|
options snd-hda-intel model=dell-headset-multi
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
{ lib, pkgs, ... }: {
|
{ lib, config, ... }:
|
||||||
|
{
|
||||||
imports = [
|
imports = [
|
||||||
../../../common/pc/laptop
|
../../../common/pc/laptop
|
||||||
../../../common/pc/laptop/ssd
|
../../../common/pc/laptop/ssd
|
||||||
@@ -9,7 +10,7 @@
|
|||||||
|
|
||||||
# Fix TRRS headphones missing a mic
|
# Fix TRRS headphones missing a mic
|
||||||
# https://community.frame.work/t/headset-microphone-on-linux/12387/3
|
# 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
|
options snd-hda-intel model=dell-headset-multi
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user