mirror of
				https://github.com/NixOS/nixos-hardware.git
				synced 2025-11-04 09:17:14 +08:00 
			
		
		
		
	lenovo: add config for ideapad s145-15api
This commit is contained in:
		
							
								
								
									
										18
									
								
								lenovo/ideapad/s145-15api/default.nix
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								lenovo/ideapad/s145-15api/default.nix
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,18 @@
 | 
			
		||||
{ lib, ... }:
 | 
			
		||||
 | 
			
		||||
{
 | 
			
		||||
  imports = [
 | 
			
		||||
    ../../../common/cpu/amd
 | 
			
		||||
    ../../../common/gpu/amd
 | 
			
		||||
    ../../../common/gpu/amd/southern-islands
 | 
			
		||||
  ];
 | 
			
		||||
 | 
			
		||||
  # Blacklist ideapad-laptop because it keeps resetting rfkill devices
 | 
			
		||||
  boot.blacklistedKernelModules = [ "ideapad-laptop" ];
 | 
			
		||||
 | 
			
		||||
  # For some reason we have to specify manually which model we want snd-hda-intel to use
 | 
			
		||||
  # without it external microphone won't work
 | 
			
		||||
  boot.extraModprobeConfig = ''
 | 
			
		||||
    options snd-hda-intel model=alc255-acer,dell-headset-multi
 | 
			
		||||
  '';
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user