mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-03 16:57:14 +08:00
Users should keep their firmware (not just BIOS) up to date. Framework 13 Intel 11-13th Gen have some components that can't be updated with fwupd, so some BIOS versions are better to be installed through the EFI shell or Windows. Signed-off-by: Daniel Schaefer <dhs@frame.work>
23 lines
661 B
Nix
23 lines
661 B
Nix
{ lib, config, ... }:
|
|
{
|
|
imports = [
|
|
../../../common/pc/laptop
|
|
../../../common/pc/ssd
|
|
../../bluetooth.nix
|
|
../../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;
|
|
}
|