refactor(wayland.utility): utility modules, add gammastep/tools
This commit is contained in:
		
							parent
							
								
									ed8bad82e2
								
							
						
					
					
						commit
						ba410aa838
					
				
					 3 changed files with 58 additions and 44 deletions
				
			
		
							
								
								
									
										20
									
								
								home/modules/desktop/wayland/utility/gammastep/default.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								home/modules/desktop/wayland/utility/gammastep/default.nix
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,20 @@ | |||
| { lib, config, ... }: | ||||
| 
 | ||||
| let | ||||
|   cfg = config.homeModules.desktop.wayland.utility.gammastep; | ||||
| in | ||||
| 
 | ||||
| { | ||||
|   config = lib.mkIf cfg.enable { | ||||
|     services.gammastep = { | ||||
|       enable = true; | ||||
|       enableVerboseLogging = true; | ||||
|       provider = "geoclue2"; | ||||
|       temperature = { | ||||
|         day = 6000; | ||||
|         night = 4000; | ||||
|       }; | ||||
|       settings.general.adjustment-method = "wayland"; | ||||
|     }; | ||||
|   }; | ||||
| } | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue