add rst support to gitea (maybe)
This commit is contained in:
		
							parent
							
								
									a5bea37455
								
							
						
					
					
						commit
						fe13abb5a1
					
				|  | @ -7,6 +7,13 @@ | |||
|     domain = "git.sealight.xyz"; | ||||
|     rootUrl = "https://git.sealight.xyz"; | ||||
|     httpPort = 3001; | ||||
|     extraConfig = '' | ||||
|       [markup.restructuredtext] | ||||
|       ENABLED = true | ||||
|       FILE_EXTENSIONS = .rst | ||||
|       RENDER_COMMAND = rst2html.py | ||||
|       IS_INPUT_FILE = false | ||||
|     ''; | ||||
|     database = { | ||||
|       type = "postgres"; | ||||
|       # passwordFile = "/run/secrets/gitea-dbpass"; # TODO supplied by agenix | ||||
|  | @ -22,6 +29,7 @@ | |||
|     }; | ||||
|   }; | ||||
| 
 | ||||
|   environment.systemPackages = [ pkgs.docutils ]; | ||||
| 
 | ||||
|   services.postgresql = { | ||||
|     enable = true; # Ensure postgresql is enabled | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue