mirror of
				https://github.com/NixOS/nixos-hardware.git
				synced 2025-11-04 17:27:14 +08:00 
			
		
		
		
	sound.enableMediaKeys can be used on all ThinkPads
				
					
				
			This commit is contained in:
		@@ -17,4 +17,6 @@ with lib;
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  environment.systemPackages = [ pkgs.acpi ];
 | 
			
		||||
 | 
			
		||||
  sound.enableMediaKeys = true;
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -16,7 +16,4 @@
 | 
			
		||||
 | 
			
		||||
  # video card
 | 
			
		||||
  services.xserver.videoDrivers = ["ati"];
 | 
			
		||||
 | 
			
		||||
  # media keys
 | 
			
		||||
  sound.enableMediaKeys = true;
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -14,9 +14,6 @@
 | 
			
		||||
  # hard disk protection if the laptop falls
 | 
			
		||||
  services.hdapsd.enable = true;
 | 
			
		||||
 | 
			
		||||
  # enable volume control buttons
 | 
			
		||||
  sound.enableMediaKeys = true;
 | 
			
		||||
 | 
			
		||||
  # fingerprint reader: login and unlock with fingerprint (if you add one with `fprintd-enroll`)
 | 
			
		||||
  #services.fprintd.enable = true;
 | 
			
		||||
  #security.pam.services.login.fprintAuth = true;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user