automatically generate
This commit is contained in:
		
							parent
							
								
									9c9be8e258
								
							
						
					
					
						commit
						39f4680381
					
				
					 1 changed files with 8 additions and 0 deletions
				
			
		|  | @ -145,5 +145,13 @@ in | |||
|       generate-vars | ||||
|     ]; | ||||
|     system.build.generate-vars = generate-vars; | ||||
| 
 | ||||
|     systemd.services.generate-vars = { | ||||
|        wantedBy = [ "multi-user.target" ]; | ||||
|        after = [ "default.target" ]; | ||||
|        description = "generate needed secrets"; | ||||
|        path = [ generate-vars ]; | ||||
|        serviceConfig.ExecStart = "${generate-vars}/bin/generate-vars"; | ||||
|     }; | ||||
|   }; | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue