mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-03 16:57:14 +08:00
framework: Add framework12
Signed-off-by: Daniel Schaefer <dhs@frame.work>
This commit is contained in:
17
framework/12-inch/13th-gen-intel/README.md
Normal file
17
framework/12-inch/13th-gen-intel/README.md
Normal file
@@ -0,0 +1,17 @@
|
||||
# [Framework Laptop 12](https://frame.work/laptop12)
|
||||
|
||||
## Updating Firmware
|
||||
|
||||
First put enable `fwupd`
|
||||
|
||||
```nix
|
||||
services.fwupd.enable = true;
|
||||
```
|
||||
|
||||
Then run
|
||||
|
||||
```sh
|
||||
$ fwupdmgr update
|
||||
```
|
||||
|
||||
- [Latest Update](https://fwupd.org/lvfs/devices/work.frame.Laptop12.RPL.BIOS.firmware)
|
||||
7
framework/12-inch/13th-gen-intel/default.nix
Normal file
7
framework/12-inch/13th-gen-intel/default.nix
Normal file
@@ -0,0 +1,7 @@
|
||||
{ config, lib, ... }:
|
||||
{
|
||||
imports = [
|
||||
../common
|
||||
../../../common/cpu/intel
|
||||
];
|
||||
}
|
||||
19
framework/12-inch/common/default.nix
Normal file
19
framework/12-inch/common/default.nix
Normal file
@@ -0,0 +1,19 @@
|
||||
{ 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;
|
||||
}
|
||||
Reference in New Issue
Block a user