Change-Id: I716e67ae32072de998c6f4e970b9dd34c5a92032 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5567 Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
		
			
				
	
	
		
			14 lines
		
	
	
	
		
			344 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
	
		
			344 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
| # Configuration specifically for laptops that move around.
 | |
| { ... }:
 | |
| 
 | |
| {
 | |
|   # Automatically detect location for redshift & timezone settings.
 | |
|   services.geoclue2.enable = true;
 | |
|   location.provider = "geoclue2";
 | |
|   services.localtime.enable = true;
 | |
| 
 | |
|   # Enable power-saving features.
 | |
|   services.tlp.enable = true;
 | |
| 
 | |
|   programs.light.enable = true;
 | |
| }
 |