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