moved hardware configuration software options to hardware.nix
This commit is contained in:
		
							parent
							
								
									834165443a
								
							
						
					
					
						commit
						2213d099d0
					
				
					 8 changed files with 85 additions and 62 deletions
				
			
		|  | @ -10,9 +10,6 @@ in | |||
|   options.users.leyla = { | ||||
|     isFullUser = lib.mkEnableOption "create usable leyla user"; | ||||
|     isThinUser = lib.mkEnableOption "create usable user but witohut user applications"; | ||||
|     hasPiperMouse = lib.mkEnableOption "install programs for managing piper supported mouses"; | ||||
|     hasOpenRGBHardware = lib.mkEnableOption "install programs for managing openRGB supported hardware"; | ||||
|     hasViaKeyboard = lib.mkEnableOption "install programs for managing via supported keyboards"; | ||||
|     hasGPU = lib.mkEnableOption "installs gpu intensive programs"; | ||||
|   }; | ||||
| 
 | ||||
|  |  | |||
|  | @ -118,9 +118,9 @@ in | |||
|             noisetorch | ||||
| 
 | ||||
|             # hardware managment tools | ||||
|             (lib.mkIf cfg.hasPiperMouse piper) | ||||
|             (lib.mkIf cfg.hasOpenRGBHardware openrgb) | ||||
|             (lib.mkIf cfg.hasViaKeyboard via) | ||||
|             (lib.mkIf config.hardware.piperMouse.enable piper) | ||||
|             (lib.mkIf config.hardware.openRGB.enable openrgb) | ||||
|             (lib.mkIf config.hardware.viaKeyboard.enable via) | ||||
|           ] | ||||
|         ) | ||||
|       ) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue