10.nixos-hardware/framework/12-inch/common/default.nix
Daniel Schaefer 8db5dd4f10 framework: 6.11 remove bluetooth workaround
6.11 is EOL, see: https://kernel.org/

The workaround, is no longer needed, see:
ff5c08e826

Signed-off-by: Daniel Schaefer <dhs@frame.work>
2026-05-16 17:20:40 +08:00

21 lines
637 B
Nix

{ lib, config, ... }:
{
imports = [
../../../common/pc/laptop
../../../common/pc/ssd
../../kmod.nix
../../framework-tool.nix
];
# Fix TRRS headphones missing a mic
# https://github.com/torvalds/linux/commit/7b509910b3ad6d7aacead24c8744de10daf8715d
boot.extraModprobeConfig = lib.mkIf (lib.versionOlder config.boot.kernelPackages.kernel.version "6.13.0") ''
options snd-hda-intel model=dell-headset-multi
'';
# Needed for desktop environments to detect display orientation
hardware.sensor.iio.enable = lib.mkDefault true;
# Everything is updateable through fwupd
services.fwupd.enable = true;
}