forked from CCCHH/nix-infra
		
	Fix synapse systemd service by allowing access to the media store
This commit is contained in:
		
					parent
					
						
							
								ddcf4eff0d
							
						
					
				
			
			
				commit
				
					
						c3a9e56437
					
				
			
		
					 1 changed files with 3 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
{ ... }:
 | 
			
		||||
{ config, ... }:
 | 
			
		||||
 | 
			
		||||
{
 | 
			
		||||
  services.matrix-synapse = {
 | 
			
		||||
| 
						 | 
				
			
			@ -48,6 +48,8 @@
 | 
			
		|||
    ];
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  systemd.services.matrix-synapse.serviceConfig.ReadWritePaths = [ config.services.matrix-synapse.settings.media_store_path ];
 | 
			
		||||
 | 
			
		||||
  deployment.keys = {
 | 
			
		||||
    "matrix-registration-shared-secret.secret" = {
 | 
			
		||||
      keyCommand = [ "pass" "noc/vm-secrets/chaosknoten/matrix/registration-shared-secret" ];
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue