mirror of
				https://github.com/NixOS/nixos-hardware.git
				synced 2025-11-04 17:27:14 +08:00 
			
		
		
		
	Update common/pc/laptop/default.nix
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
This commit is contained in:
		@@ -6,9 +6,5 @@
 | 
				
			|||||||
  # Gnome 40 introduced a new way of managing power, without tlp.
 | 
					  # Gnome 40 introduced a new way of managing power, without tlp.
 | 
				
			||||||
  # However, these 2 services clash when enabled simultaneously.
 | 
					  # However, these 2 services clash when enabled simultaneously.
 | 
				
			||||||
  # https://github.com/NixOS/nixos-hardware/issues/260
 | 
					  # https://github.com/NixOS/nixos-hardware/issues/260
 | 
				
			||||||
  services.tlp.enable = lib.mkDefault
 | 
					  services.tlp.enable = lib.mkDefault !config.services.power-profiles-daemon.enable;
 | 
				
			||||||
    (if config.services.power-profiles-daemon.enable == true then
 | 
					 | 
				
			||||||
      false
 | 
					 | 
				
			||||||
    else
 | 
					 | 
				
			||||||
      true);
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user