mirror of
				https://github.com/NixOS/nixos-hardware.git
				synced 2025-11-04 09:17:14 +08:00 
			
		
		
		
	tuxedo/aura/15-gen1: migrate renamed option
This commit is contained in:
		
				
					committed by
					
						
						mergify[bot]
					
				
			
			
				
	
			
			
			
						parent
						
							36ed775c1e
						
					
				
				
					commit
					912e5b8a00
				
			@@ -1,4 +1,5 @@
 | 
				
			|||||||
{lib, ...}: {
 | 
					{ lib, ... }:
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
  imports = [
 | 
					  imports = [
 | 
				
			||||||
    ../../../../common/cpu/amd
 | 
					    ../../../../common/cpu/amd
 | 
				
			||||||
    ../../../../common/pc/laptop
 | 
					    ../../../../common/pc/laptop
 | 
				
			||||||
@@ -9,5 +10,13 @@
 | 
				
			|||||||
  services.thermald.enable = lib.mkDefault true;
 | 
					  services.thermald.enable = lib.mkDefault true;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  # keyboard backlight lives in /sys/class/leds/rgb:kbd_backlight
 | 
					  # keyboard backlight lives in /sys/class/leds/rgb:kbd_backlight
 | 
				
			||||||
  hardware.tuxedo-keyboard.enable = lib.mkDefault true;
 | 
					  hardware =
 | 
				
			||||||
 | 
					    if lib.versionAtLeast (lib.versions.majorMinor lib.version) "24.11" then
 | 
				
			||||||
 | 
					      {
 | 
				
			||||||
 | 
					        tuxedo-drivers.enable = lib.mkDefault true;
 | 
				
			||||||
 | 
					      }
 | 
				
			||||||
 | 
					    else
 | 
				
			||||||
 | 
					      {
 | 
				
			||||||
 | 
					        tuxedo-keyboard.enable = lib.mkDefault true;
 | 
				
			||||||
 | 
					      };
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user