mirror of
				https://github.com/NixOS/nixos-hardware.git
				synced 2025-11-04 09:17:14 +08:00 
			
		
		
		
	lenovo/thinkpad/x260: use services.tlp.settings
With switching from NixOS 20.03 to 20.09, the services.tlp.extraConfig option became deprecated and was replaced by services.tlp.settings. The ThinkPad X260 is only device within nixos-hardware which makes use of this configuration.
This commit is contained in:
		@@ -6,7 +6,7 @@
 | 
			
		||||
  ];
 | 
			
		||||
 | 
			
		||||
  # https://wiki.archlinux.org/index.php/TLP#Btrfs
 | 
			
		||||
  services.tlp.extraConfig = ''
 | 
			
		||||
    SATA_LINKPWR_ON_BAT=med_power_with_dipm
 | 
			
		||||
  '';
 | 
			
		||||
  services.tlp.settings = {
 | 
			
		||||
    SATA_LINKPWR_ON_BAT = "med_power_with_dipm";
 | 
			
		||||
  };
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user