mirror of
				https://github.com/NixOS/nixos-hardware.git
				synced 2025-11-04 09:17:14 +08:00 
			
		
		
		
	framework: Enable fwupd by default
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>
This commit is contained in:
		@@ -14,7 +14,6 @@ in
 | 
			
		||||
    ../common/amd.nix
 | 
			
		||||
    ../../../common/cpu/amd/raphael/igpu.nix
 | 
			
		||||
  ];
 | 
			
		||||
 | 
			
		||||
  options = {
 | 
			
		||||
    hardware.framework.amd-7040.preventWakeOnAC = lib.mkOption {
 | 
			
		||||
      type = lib.types.bool;
 | 
			
		||||
@@ -30,6 +29,8 @@ in
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  config = {
 | 
			
		||||
    services.fwupd.enable = true;
 | 
			
		||||
 | 
			
		||||
    # Workaround applied upstream in Linux >=6.7 (on BIOS 03.03)
 | 
			
		||||
    # https://github.com/torvalds/linux/commit/a55bdad5dfd1efd4ed9ffe518897a21ca8e4e193
 | 
			
		||||
    services.udev.extraRules =
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user