forked from fediversity/fediversity
		
	factor out function wrapper to module function #9
					 2 changed files with 4 additions and 4 deletions
				
			
		|  | @ -115,7 +115,7 @@ in | |||
|               default = { | ||||
|                 input-type = submodule application.config.module; | ||||
|                 output-type = application-resources; | ||||
|                 implementation = application.config.implementation; | ||||
|                 declare = application.config.implementation; | ||||
|               }; | ||||
|             }; | ||||
|           }; | ||||
|  | @ -152,7 +152,7 @@ in | |||
|               default = { | ||||
|                 input-type = application-resources; | ||||
|                 output-type = nixops4Deployment; | ||||
|                 implementation = environment.config.implementation; | ||||
|                 declare = environment.config.implementation; | ||||
|               }; | ||||
|             }; | ||||
|             config-mapping = mkOption { | ||||
|  | @ -162,7 +162,7 @@ in | |||
|               default = { | ||||
|                 input-type = config.configuration; | ||||
|                 output-type = nixops4Deployment; | ||||
|                 implementation = | ||||
|                 declare = | ||||
|                   cfg: | ||||
|                   # TODO: check cfg.enable.true | ||||
|                   let | ||||
|  |  | |||
|  | @ -37,7 +37,7 @@ in | |||
|         }; | ||||
|       }); | ||||
|     }; | ||||
|     implementation = mkOption { | ||||
|     declare = mkOption { | ||||
|       type = config.function-type; | ||||
|       default = _: { }; | ||||
|     }; | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue