refactor(nixos:host): move module options -> nixos/options/host.nix
This commit is contained in:
		
							parent
							
								
									20466f95b2
								
							
						
					
					
						commit
						1ac90d7985
					
				
					 11 changed files with 137 additions and 199 deletions
				
			
		|  | @ -1,19 +1,7 @@ | |||
| { lib, ... }: | ||||
| 
 | ||||
| let | ||||
|   inherit (lib) types mkOption; | ||||
| in | ||||
| 
 | ||||
| { | ||||
|   imports = [ | ||||
|     ./amd.nix | ||||
|     ./intel.nix | ||||
|     ./nvidia.nix | ||||
|   ]; | ||||
| 
 | ||||
|   options.ooknet.host.hardware.gpu.type = mkOption { | ||||
|     type = with types; nullOr (enum ["intel" "amd" "nvidia"]); | ||||
|     default = null; | ||||
|     description = "Type of gpu system module to use"; | ||||
|   }; | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue