mirror of
				https://github.com/NixOS/nixos-hardware.git
				synced 2025-11-04 09:17:14 +08:00 
			
		
		
		
	Users should keep their firmware (not just BIOS) up to date. Framework 13 Intel 11-13th Gen have some components that can't be updated with fwupd, so some BIOS versions are better to be installed through the EFI shell or Windows. Signed-off-by: Daniel Schaefer <dhs@frame.work>
		
			
				
	
	
		
			27 lines
		
	
	
		
			492 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
		
			492 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
{
 | 
						|
  config,
 | 
						|
  lib,
 | 
						|
  pkgs,
 | 
						|
  ...
 | 
						|
}:
 | 
						|
 | 
						|
{
 | 
						|
  imports = [
 | 
						|
    ../common
 | 
						|
    ../common/amd.nix
 | 
						|
  ];
 | 
						|
 | 
						|
  config = {
 | 
						|
    # Everything is updateable through fwupd
 | 
						|
    services.fwupd.enable = true;
 | 
						|
 | 
						|
    hardware.framework.laptop13.audioEnhancement.rawDeviceName =
 | 
						|
      lib.mkDefault "alsa_output.pci-0000_c1_00.6.analog-stereo";
 | 
						|
 | 
						|
    # suspend works with 6.15
 | 
						|
    boot.kernelPackages = lib.mkIf (lib.versionOlder pkgs.linux.version "6.15") (
 | 
						|
      lib.mkDefault pkgs.linuxPackages_latest
 | 
						|
    );
 | 
						|
  };
 | 
						|
}
 |