Files
nixos-hardware/framework/12-inch/common/default.nix
Daniel Schaefer 3a4da5f8c1 framework: Enable fwupd by default
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>
2025-08-27 01:11:13 +08:00

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;
}