mirror of
				https://github.com/Stunkymonkey/nixos.git
				synced 2025-10-31 17:52:10 +01:00 
			
		
		
		
	service/paperless: migrate to settings from extraConfig
This commit is contained in:
		
							parent
							
								
									a9bd6cb089
								
							
						
					
					
						commit
						28d636ec98
					
				
					 2 changed files with 4 additions and 4 deletions
				
			
		|  | @ -27,7 +27,7 @@ in | |||
|       example = "/run/secrets/freshrss"; | ||||
|     }; | ||||
| 
 | ||||
|     extraConfig = mkOption { | ||||
|     settings = mkOption { | ||||
|       type = types.attrs; | ||||
|       default = { }; | ||||
|       description = "additional extraConfig"; | ||||
|  | @ -38,9 +38,9 @@ in | |||
|     services.paperless = { | ||||
|       enable = true; | ||||
|       inherit (cfg) port mediaDir passwordFile; | ||||
|       extraConfig = { | ||||
|       settings = { | ||||
|         PAPERLESS_OCR_LANGUAGE = "deu+eng"; | ||||
|       } // cfg.extraConfig; | ||||
|       } // cfg.settings; | ||||
|     }; | ||||
| 
 | ||||
|     # monitoring is not really useful, because it only contains the http-worker infos -> skipped for now | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Felix Buehler
						Felix Buehler