Skip to main content

NixOS Framework Laptop 16 v1.6

Minor Versionm

by Matt Hartley

Introduction

Once you have your Framework Laptop 16 set up following the Quick Start Guide, you’re ready to install your preferred OS. With the latest release of NixOS, everything works pretty smoothly. You can check our Linux page for additional Linux compatibility notes.

NOTE: This is a Compatible Community Supported Linux Distribution. Learn more here.

Tools

No tools specified.

  1. First, download NixOS from NixOS' website. NixOS has a detailed installation guide that you can follow.  We'll go through the steps in this Guide assuming you have a simple installation scenario of a fresh install on a blank drive. Download balenaEtcher as a tool to create the USB installer from the ISO. balenaEtcher is available for MacOS. Install it.
    • First, download NixOS from NixOS' website. NixOS has a detailed installation guide that you can follow. We'll go through the steps in this Guide assuming you have a simple installation scenario of a fresh install on a blank drive.

    • Download balenaEtcher as a tool to create the USB installer from the ISO. balenaEtcher is available for MacOS. Install it.

    • Launch balenaEtcher. Insert your USB drive (8GB or larger). Click on "Flash from file" and select the NixOS iso that you downloaded. Click on "Select target" and choose your USB drive. Click "Flash" and wait a minute or two for it to complete.

    • Once the USB drive creation is complete, you can close balenaEtcher and eject the USB drive from your OS.

  2. First, download NixOS from NixOS' website. NixOS has a detailed installation guide that you can follow.  We'll go through the steps in this Guide assuming you have a simple installation scenario of a fresh install on a blank drive. New line.Download Rufus as a tool to create the USB installer from the ISO - select the top download option from the link provided. Rufus is available for Windows. Install it.
    • First, download NixOS from NixOS' website. NixOS has a detailed installation guide that you can follow. We'll go through the steps in this Guide assuming you have a simple installation scenario of a fresh install on a blank drive.

    • New line.Download Rufus as a tool to create the USB installer from the ISO - select the top download option from the link provided. Rufus is available for Windows. Install it.

    • Launch Rufus. Insert your USB drive (8GB or larger). Click on "Flash from file" and select the NixOS iso that you downloaded. Click on "SELECT" and choose your USB drive. Click "START" and wait a minute or two for it to complete.

  3. Before we begin the installation process with the Live USB, let's make sure you have your Linux Audio Compatibility set to Linux in the BIOS. Explanation as to what this does can be found here. Power on the laptop, repeatedly tapping F2 in order to get into the BIOS. Note: If you're having trouble with this, try again, holding down the Fn key while rapidly tapping F2.
    • Before we begin the installation process with the Live USB, let's make sure you have your Linux Audio Compatibility set to Linux in the BIOS. Explanation as to what this does can be found here.

    • Power on the laptop, repeatedly tapping F2 in order to get into the BIOS. Note: If you're having trouble with this, try again, holding down the Fn key while rapidly tapping F2.

    • In BIOS mode, arrow key over to Setup Utility. Press the enter key. Arrow down to Advanced. Then arrow right, then arrow down to Linux Audio Compatibility. Press enter.

    • A new box for Linux Audio Compatibility will appear, arrow to Linux, then press enter. Now press F10 key to reboot.

    • Now we don't have an OS installed yet. So the reboot won't get us to a running operating system and we fully expect to see an error to this point. Simply press the power button to shutdown.

    • The next step is to install NixOS.

    • You will want to disable secure boot for NixOS as the install media is not signed.

    • Boot into the BIOS menu:

    • Power on, then tap F2 rapidly at the Framework splash screen

    • Select Administer Secure Boot tile on the screen. Press enter.

    • Go to Enforce Secure Boot, it will show as Enabled. Click the enter key, arrow it to Disabled. Press F10 key to save and reboot.

    • Should you wish to enable it later in the future, repeat the above steps but select Enable this time. More about secure boot here.

    • Insert the USB drive into your powered off Framework Laptop 16, and then power on. If you have an existing OS installed on the Storage drive in your laptop, immediately after the power light comes on begin rapidly tapping (continuously ) the F12 key - you must begin tapping well before you see the Framework logo.

    • If you don't have an internal storage drive installed or it is blank, the laptop will boot to the USB drive directly.

    • Hit Enter again to boot into and install NixOS.

    • This is a distribution of Linux is unique compared to other distros and follows its own conventions. So you will want to utilize the NixOS install guide to get your bearings on how to install it.

  4. When the installer first displays a list of kernels to choose from, select the latest one. At the time of this guide, that was kernel 6.16.x - for the sake of this guide, we will assume you've selected GNOME. When the installer appears, you will be asked to connect to a network. Connect to wi-fi. It will cycle through the checking process again, then allow you to select your language and press the next button. Select your location keyboard and then setup your user account.
    • When the installer first displays a list of kernels to choose from, select the latest one. At the time of this guide, that was kernel 6.16.x - for the sake of this guide, we will assume you've selected GNOME.

    • When the installer appears, you will be asked to connect to a network. Connect to wi-fi. It will cycle through the checking process again, then allow you to select your language and press the next button.

    • Select your location keyboard and then setup your user account.

    • Next, you will want to choose your desktop - as mentioned previously, for the sake of this guide, we will assume GNOME.

  5. Next you will be asked if you would like to have access to non-free software. This is recommended for most users, but if you understand it can affect access to proprietary blobs and related, you can elect to not choose it. The next option is to choose your partition setup. For most people, the desired choice will be to erase disk. Advanced users, may instead elect for manual partitioning. And now, we arrive at the summary screen where you can determined if the settings are what you would like. And you can press the install button to begin writing your selections to the drive.
    • Next you will be asked if you would like to have access to non-free software. This is recommended for most users, but if you understand it can affect access to proprietary blobs and related, you can elect to not choose it.

    • The next option is to choose your partition setup. For most people, the desired choice will be to erase disk. Advanced users, may instead elect for manual partitioning.

    • And now, we arrive at the summary screen where you can determined if the settings are what you would like. And you can press the install button to begin writing your selections to the drive.

  6. Follow these steps to get the rest of your configuration setup. This includes hardware modules and tablet mode configuration.
    • Follow these steps to get the rest of your configuration setup. This includes hardware modules and tablet mode configuration.

    • AMD Ryzen 7040 Series: It is recommended to use power-profiles-daemon over tlp for the AMD framework. NixOS Hardware module for flakes: nixos-hardware.nixosModules.framework-16-7040-amd NixOS Hardware module for channels: <nixos-hardware/framework/16-inch/7040-amd>

    • AMD Ryzen AI 300: AMD Ryzen 7040 Series: It is recommended to use power-profiles-daemon over tlp for the AMD framework. NixOS Hardware module for channels: <nixos-hardware/framework/16-inch/amd-ai-300-series>

    • If you have an NVIDIA dGPU module, you can enable it via the NVIDIA open drivers:

    • services.xserver.videoDrivers = [ "nvidia" ]; hardware.nvidia.open = true; # see the note above

  7. Your Framework Laptop 16 with the NVIDIA dGPU module can operate in two primary graphics modes you will want to explore. You can switch between them in your laptop's BIOS settings.
    • Your Framework Laptop 16 with the NVIDIA dGPU module can operate in two primary graphics modes you will want to explore. You can switch between them in your laptop's BIOS settings.

    • To access this section of your BIOS: Tap F2 when you boot and see your Framework Splash screen (Framework logo). Arrow over to Setup utility. Click enter. Down arrow to Advanced on the left side. Right arrow to NVIDIA Mux. Enter key. Make your selection, press enter. Press F10 and press enter again to save changes and reboot.

    • The third option, Advanced Optimus, behaves like NVIDIA Hybrid Mode on Linux. So we will forgo it for this guide.

    • NVIDIA Hybrid Mode (Traditional Optimus): This is the default and most battery-efficient mode.

    • Display Path: The integrated AMD GPU (iGPU) is always connected to the display. When the NVIDIA GPU (dGPU) is used for a demanding task, it renders the frames and copies them to the iGPU to be shown on the screen.

    • Switching: Applications run on the power-saving iGPU by default. Steam uses dGPU this automatically for games.

    • Performance: Small but measurable latency and FPS penalty compared to direct dGPU output because every frame must traverse the iGPU.

    • Power Behavior: The iGPU remains on at all times. The dGPU powers up only when needed and typically idles around 4–6 W (P8 power state). This is the most battery-efficient configuration.

  8. Your Framework Laptop 16 with the NVIDIA dGPU module can operate in two primary graphics modes you will want to explore. You can switch between them in your laptop's BIOS settings.
    • Your Framework Laptop 16 with the NVIDIA dGPU module can operate in two primary graphics modes you will want to explore. You can switch between them in your laptop's BIOS settings.

    • To access this section of your BIOS: Tap F2 when you boot and see your Framework Splash screen (Framework logo). Arrow over to Setup utility. Click enter. Down arrow to Advanced on the left side. Right arrow to NVIDIA Mux. Enter key. Make your selection, press enter. Press F10 and press enter again to save changes and reboot.

    • The third option, Advanced Optimus, behaves like NVIDIA Hybrid Mode on Linux. So we will forgo it for this guide.

    • NVIDIA GPU-Only (Discrete Mode)

    • Display Path The dGPU drives the panel 100% of the time. The iGPU is fully disabled.

    • Switching: No switching possible without reboot — you must go back into BIOS or flip the MUX manually to return to Hybrid mode.

    • Performance: Maximum performance and lowest latency, because there is no iGPU in the pipeline.

    • Power Behavior Highest power draw. The dGPU cannot power down and battery life is significantly shorter, even at idle.

  9. Before updating to the latest firmware, make sure you verify which BIOS were running.
    • Before updating to the latest firmware, make sure you verify which BIOS were running.

    • As new firmware is made available, you can check for the latest firmware via LVFS.

    • For Framework Laptop 16 AMD Ryzen 7040 Series, you can check here for the latest firmware.

    • For Framework Laptop 16 AMD Ryzen™ AI 300 Series, you can check here for the latest firmware.

Conclusion

Enjoy using NixOS on your Framework Laptop 16! If you have any questions or run into any issues, we recommend bringing them to the Community in the Linux NixOS topic. Members of the Framework team participate in discussions there.

Matt Hartley

Member since: 11/8/22

25 Guides authored

Team

Framework Member of Framework

9 Members

170 Guides authored

0 Comments

Add Comment



View Statistics:

Past 24 Hours: 1

Past 7 Days: 15

Past 30 Days: 69

All Time: 746