refactor: flake dir -> outputs/sys -> nixos
This commit is contained in:
		
							parent
							
								
									3615bb010f
								
							
						
					
					
						commit
						a6d5e892a1
					
				
					 73 changed files with 9 additions and 2 deletions
				
			
		
							
								
								
									
										13
									
								
								nixos/modules/base/host/hardware/features/backlight.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								nixos/modules/base/host/hardware/features/backlight.nix
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,13 @@ | |||
| { lib, config, ... }: | ||||
| 
 | ||||
| let | ||||
|   features = config.ooknet.host.hardware.features; | ||||
|   inherit (lib) mkIf; | ||||
|   inherit (builtins) elem; | ||||
| in | ||||
| 
 | ||||
| { | ||||
|   config = mkIf (elem "backlight" features) { | ||||
|     hardware.brillo.enable = true; | ||||
|   }; | ||||
| } | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue