From ccc638b24f7c29db45838588b5e747fddb1239af Mon Sep 17 00:00:00 2001 From: Daniel Schaefer Date: Tue, 18 Jun 2024 09:40:37 +0800 Subject: [PATCH] framework: Add Intel Core Ultra Series 1 Signed-off-by: Daniel Schaefer --- README.md | 1 + .../13-inch/intel-core-ultra-series1/README.md | 15 +++++++++++++++ .../13-inch/intel-core-ultra-series1/default.nix | 12 ++++++++++++ 3 files changed, 28 insertions(+) create mode 100644 framework/13-inch/intel-core-ultra-series1/README.md create mode 100644 framework/13-inch/intel-core-ultra-series1/default.nix diff --git a/README.md b/README.md index cd519b2..7f77e26 100644 --- a/README.md +++ b/README.md @@ -167,6 +167,7 @@ See code for all available configurations. | [Framework 11th Gen Intel Core](framework/13-inch/11th-gen-intel) | `` | | [Framework 12th Gen Intel Core](framework/13-inch/12th-gen-intel) | `` | | [Framework 13th Gen Intel Core](framework/13-inch/13th-gen-intel) | `` | +| [Framework Intel Core Ultra Series 1](framework/13-inch/intel-core-ultra-series1) | `` | | [Framework 13 AMD Ryzen 7040 Series](framework/13-inch/7040-amd) | `` | | [Framework 16 AMD Ryzen 7040 Series](framework/16-inch/7040-amd) | `` | | [FriendlyARM NanoPC-T4](friendlyarm/nanopc-t4) | `` | diff --git a/framework/13-inch/intel-core-ultra-series1/README.md b/framework/13-inch/intel-core-ultra-series1/README.md new file mode 100644 index 0000000..8f3b7a4 --- /dev/null +++ b/framework/13-inch/intel-core-ultra-series1/README.md @@ -0,0 +1,15 @@ +# [Framework Laptop 13](https://frame.work/) + +## Updating Firmware + +First put enable `fwupd` + +```nix +services.fwupd.enable = true; +``` + +Then run + +```sh + $ fwupdmgr update +``` diff --git a/framework/13-inch/intel-core-ultra-series1/default.nix b/framework/13-inch/intel-core-ultra-series1/default.nix new file mode 100644 index 0000000..2de7cff --- /dev/null +++ b/framework/13-inch/intel-core-ultra-series1/default.nix @@ -0,0 +1,12 @@ +{ lib, pkgs, ... }: + +{ + imports = [ + ../common + ../common/intel.nix + ]; + + # Need at least 6.9 to make suspend properly + # Specifically this patch: https://github.com/torvalds/linux/commit/073237281a508ac80ec025872ad7de50cfb5a28a + boot.kernelPackages = lib.mkIf (lib.versionOlder pkgs.linux.version "6.9") (lib.mkDefault pkgs.linuxPackages_latest); +}