mirror of
				https://github.com/Stunkymonkey/nixos.git
				synced 2025-10-31 01:32:11 +01:00 
			
		
		
		
	thinkman/hardware-config: remove nixos-hardware defaults
This commit is contained in:
		
							parent
							
								
									610967d8dc
								
							
						
					
					
						commit
						ab3ece7522
					
				
					 1 changed files with 2 additions and 14 deletions
				
			
		|  | @ -1,19 +1,7 @@ | ||||||
| { config, lib, ... }: | { config, lib, ... }: | ||||||
| { | { | ||||||
|   boot = { |   # video driver | ||||||
|     # acpi_call makes tlp work for newer thinkpads |   boot.initrd.kernelModules = [ "i915" ]; | ||||||
|     kernelModules = [ "acpi_call" ]; |  | ||||||
|     extraModulePackages = with config.boot.kernelPackages; [ acpi_call ]; |  | ||||||
| 
 |  | ||||||
|     # Force use of the thinkpad_acpi driver for backlight control. |  | ||||||
|     # This allows the backlight save/load systemd service to work. |  | ||||||
|     kernelParams = [ "acpi_backlight=native" ]; |  | ||||||
| 
 |  | ||||||
|     # video driver |  | ||||||
|     initrd.kernelModules = [ "i915" ]; |  | ||||||
|   }; |  | ||||||
| 
 |  | ||||||
|   services.fstrim.enable = lib.mkDefault true; |  | ||||||
| 
 | 
 | ||||||
|   # Special power management settings for ThinkPads |   # Special power management settings for ThinkPads | ||||||
|   services.tlp.enable = true; |   services.tlp.enable = true; | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Felix Buehler
						Felix Buehler