sops
This commit is contained in:
		
							parent
							
								
									eb8bd48c73
								
							
						
					
					
						commit
						449291f339
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -49,9 +49,9 @@
 | 
			
		|||
      dbuser = "nextcloud";
 | 
			
		||||
      dbhost = "/run/postgresql"; # nextcloud will add /.s.PGSQL.5432 by itself
 | 
			
		||||
      dbname = "nextcloud";
 | 
			
		||||
      dbpassFile = "/var/nextcloud-db-pass";
 | 
			
		||||
      dbpassFile = sops.secrets."nextclouddb".path;
 | 
			
		||||
 | 
			
		||||
      adminpassFile = "/var/nextcloud-admin-pass";
 | 
			
		||||
      adminpassFile = sops.secrets."nextcloudadmin".path;
 | 
			
		||||
      adminuser = "admin";
 | 
			
		||||
    };
 | 
			
		||||
  };
 | 
			
		||||
| 
						 | 
				
			
			@ -65,7 +65,7 @@
 | 
			
		|||
    ensureUsers = [
 | 
			
		||||
      {
 | 
			
		||||
        name = "nextcloud";
 | 
			
		||||
        ensurePermissions."DATABASE nextcloud" = "ALL PRIVILEGES";
 | 
			
		||||
        ensureDBOwnership."DATABASE nextcloud" = "ALL PRIVILEGES";
 | 
			
		||||
      }
 | 
			
		||||
    ];
 | 
			
		||||
  };
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue