Hardware/Framework/Laptop 13: Difference between revisions

0x4A6F (talk | contribs)
Created page with "{{Hardware/breadcrumb}} <div class="infobox"> {|class="table" !colspan="2" class="title"|Framework Laptop 13 |- |<!-- TODO colspan="2"|frameless|256px|A Framework Laptop 13 --> |- !colspan="2" class="title"|Laptop 13 |- !Manufacturer |Framework |- !Architecture |x86_64-linux |- !colspan="2" class="title"|7040 Series |- !colspan="2" class="title"|13 Gen |- !colspan="2" class="title"|12 Gen |- !colspan="2" class="title"|11 Gen |- !Status |s..."
 
Phobos (talk | contribs)
m Added link to Laptop page
 
(21 intermediate revisions by 13 users not shown)
Line 1: Line 1:
{{Hardware/breadcrumb}}
{{DISPLAYTITLE:Framework Laptop 13}}
<div class="infobox">
{{Hardware/breadcrumb}}<div class="infobox">
{|class="table"
{|class="table"
!colspan="2" class="title"|Framework Laptop 13
!colspan="2" class="title"|Framework Laptop 13
Line 9: Line 9:
|-
|-
!Manufacturer
!Manufacturer
|Framework
|[[Hardware/Framework|Framework]]
|-
!Support
|[https://knowledgebase.frame.work/framework-component-linux-support-matrix-B1gwmFtPgg components]
|-
|-
!Architecture
!Architecture
|x86_64-linux
|x86_64-
linux
|-
!colspan="2" class="title"|AI 300 Series
|-
|-
!colspan="2" class="title"|7040 Series
!colspan="2" class="title"|7040 Series
Line 30: Line 36:
</div>
</div>


 
The [https://frame.work/products/laptop13 Framework Laptop 13] is a configurable, upgradeable, and repairable laptop made by the Framework company.
== Status ==
== Status ==


Line 36: Line 42:


== Known issues ==
== Known issues ==
In order to boot you need to disable Secure Boot. To do that, press F2 during boot and go into the "Administer Secure Boot" menu.
== Configuration ==
Framework-specific NixOS hardware options are bundled within the [https://github.com/NixOS/nixos-hardware nixos-hardware] project. Also consider checking the [[Laptop]] page for laptop specific behavior, such as what action to take when the lid is closed.
=== BIOS ===
BIOS updates are distributed through [https://fwupd.org/ LVFS], which can be used by enabling the fwupd service:
<syntaxHighlight lang=nix>
services.fwupd.enable = true;
</syntaxHighlight>
To check for updates and install them, run:
<code>$ fwupdmgr update</code>
Further instructions and release notes can be found on the [https://knowledgebase.frame.work/bios-and-drivers-downloads-rJ3PaCexh Framework BIOS and Drivers knowledgebase].
=== AMD AI 300 Series ===
Use an installer with Linux kernel 6.12 or later (at least NixOS Release 25.05 / [https://channels.nixos.org/?prefix=nixos-unstable/ NixOS Unstable]).
*NixOS Hardware module for flakes: <code>nixos-hardware.nixosModules.framework-amd-ai-300-series</code>
*NixOS Hardware module for channels: <code><nixos-hardware/framework/13-inch/amd-ai-300-series></code>
=== AMD 7040 Series ===
It is recommended to use [https://search.nixos.org/options?show=services.power-profiles-daemon.enable power-profiles-daemon] over <code>[[Laptop#TLP|tlp]]</code> for the AMD framework. If standby power consumption is too high (multiple watts) ensure the BIOS version is at least [https://community.frame.work/t/framework-laptop-13-ryzen-7040-bios-3-05-release-and-driver-bundle/48276 3.05]<ref>https://community.frame.work/t/framework-laptop-13-ryzen-7040-bios-3-05-release-and-driver-bundle/48276/239</ref>.
* NixOS Hardware module for flakes: <code>nixos-hardware.nixosModules.framework-13-7040-amd</code>
* NixOS Hardware module for channels: <code><nixos-hardware/framework/13-inch/7040-amd></code>
=== Intel Core Ultra Series 1 ===
Personal experience: On NixOS 24.11 the default kernel appears to be to old (no display brightness adjustment and increased power consumption). Using a newer kernel seems to run nicely:<syntaxhighlight lang="nix">
boot.kernelPackages = pkgs.linuxPackages_6_14;
</syntaxhighlight>
=== Intel 13 Gen ===
* NixOS Hardware module for flakes: <code>nixos-hardware.nixosModules.framework-13th-gen-intel</code>
* NixOS Hardware module for channels: <code><nixos-hardware/framework/13-inch/13th-gen-intel></code>
Check the [https://github.com/NixOS/nixos-hardware/tree/master/framework/13-inch/13th-gen-intel#getting-the-fingerprint-sensor-to-work nixos-hardware] Readme on how to get your fingerprint reader to work.
=== Intel 12 Gen ===
* NixOS Hardware module for flakes: <code>nixos-hardware.nixosModules.framework-12th-gen-intel</code>
* NixOS Hardware module for channels: <code><nixos-hardware/framework/13-inch/12th-gen-intel></code>
=== Intel 11 Gen ===
* NixOS Hardware module for flakes: <code>nixos-hardware.nixosModules.framework-11th-gen-intel</code>
* NixOS Hardware module for channels: <code><nixos-hardware/framework/13-inch/11th-gen-intel></code>
<!--
- opinionated example configuration.nix
{{file|/etc/nixos/configuration.nix|nix|<nowiki>
{
  config,
  lib,
  pkgs,
  modulesPath,
  ...
}:
{
  imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
  # Use the systemd-boot EFI boot loader.
  boot.loader.systemd-boot.enable = true;
  boot.loader.efi.canTouchEfiVariables = true;
  boot.kernelParams = [ "mem_sleep_default=deep" ];
  boot.initrd.availableKernelModules = [
    "xhci_pci"
    "thunderbolt"
    "nvme"
  ];
  boot.initrd.kernelModules = [ ];
  boot.kernelModules = [ "kvm-intel" ];
  boot.extraModulePackages = [ ];
  powerManagement = {
    enable = true;
    powertop.enable = true;
    cpuFreqGovernor = lib.mkDefault "ondemand";
  };
  hardware.bluetooth.enable = true;
  services.thermald.enable = true;
  hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
  nixpkgs.config.packageOverrides = pkgs: {
    vaapiIntel = pkgs.vaapiIntel.override { enableHybridCodec = true; };
  };
  hardware.opengl = {
    enable = true;
    extraPackages = with pkgs; [
      vaapiIntel
      vaapiVdpau
      libvdpau-va-gl
      intel-media-driver # only available starting nixos-19.03 or the current nixos-unstable
    ];
  };
  system.stateVersion = "21.11";
}
</nowiki>}}
-->
[[Category: Incomplete]]