Skip to content

Commit a9a7323

Browse files
committed
framework: Add framework12
Signed-off-by: Daniel Schaefer <[email protected]>
1 parent e81fd16 commit a9a7323

File tree

5 files changed

+45
-0
lines changed

5 files changed

+45
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,7 @@ See code for all available configurations.
185185
| [Framework Intel Core Ultra Series 1](framework/13-inch/intel-core-ultra-series1) | `<nixos-hardware/framework/13-inch/intel-core-ultra-series1>` |
186186
| [Framework 13 AMD Ryzen 7040 Series](framework/13-inch/7040-amd) | `<nixos-hardware/framework/13-inch/7040-amd>` |
187187
| [Framework 13 AMD AI 300 Series](framework/13-inch/amd-ai-300-series) | `<nixos-hardware/framework/13-inch/amd-ai-300-series>` |
188+
| [Framework 12 13th Gen Intel Core](framework/12-inch/13th-gen-intel) | `<nixos-hardware/framework/12-inch/13th-gen-intel>` |
188189
| [Framework 16 AMD Ryzen 7040 Series](framework/16-inch/7040-amd) | `<nixos-hardware/framework/16-inch/7040-amd>` |
189190
| [FriendlyARM NanoPC-T4](friendlyarm/nanopc-t4) | `<nixos-hardware/friendlyarm/nanopc-t4>` |
190191
| [FriendlyARM NanoPi R5s](friendlyarm/nanopi-r5s) | `<nixos-hardware/friendlyarm/nanopi-r5s>` |

flake.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@
124124
framework-11th-gen-intel = import ./framework/13-inch/11th-gen-intel;
125125
framework-12th-gen-intel = import ./framework/13-inch/12th-gen-intel;
126126
framework-13th-gen-intel = import ./framework/13-inch/13th-gen-intel;
127+
framework-12-13th-gen-intel = import ./framework/12-inch/13th-gen-intel;
127128
framework-intel-core-ultra-series1 = import ./framework/13-inch/intel-core-ultra-series1;
128129
framework-13-7040-amd = import ./framework/13-inch/7040-amd;
129130
framework-amd-ai-300-series = import ./framework/13-inch/amd-ai-300-series;
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# [Framework Laptop 12](https://frame.work/laptop12)
2+
3+
## Updating Firmware
4+
5+
First put enable `fwupd`
6+
7+
```nix
8+
services.fwupd.enable = true;
9+
```
10+
11+
Then run
12+
13+
```sh
14+
$ fwupdmgr update
15+
```
16+
17+
- [Latest Update](https://fwupd.org/lvfs/devices/work.frame.Laptop12.RPL.BIOS.firmware)
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{ config, lib, ... }:
2+
{
3+
imports = [
4+
../common
5+
../../../common/cpu/intel
6+
];
7+
}

framework/12-inch/common/default.nix

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{ lib, config, ... }:
2+
{
3+
imports = [
4+
../../../common/pc/laptop
5+
../../../common/pc/ssd
6+
../../bluetooth.nix
7+
../../kmod.nix
8+
../../framework-tool.nix
9+
];
10+
11+
# Fix TRRS headphones missing a mic
12+
# https://github.com/torvalds/linux/commit/7b509910b3ad6d7aacead24c8744de10daf8715d
13+
boot.extraModprobeConfig = lib.mkIf (lib.versionOlder config.boot.kernelPackages.kernel.version "6.13.0") ''
14+
options snd-hda-intel model=dell-headset-multi
15+
'';
16+
17+
# Needed for desktop environments to detect display orientation
18+
hardware.sensor.iio.enable = lib.mkDefault true;
19+
}

0 commit comments

Comments
 (0)