mirror of
				https://github.com/materusPL/Nixerus.git
				synced 2025-11-04 06:30:28 +01:00 
			
		
		
		
	valkyrie: add postgresql, podkos.xyz acme
This commit is contained in:
		
							parent
							
								
									126ff7bf0d
								
							
						
					
					
						commit
						7374bcea9c
					
				@ -127,7 +127,14 @@
 | 
				
			|||||||
    recommendedGzipSettings = true;
 | 
					    recommendedGzipSettings = true;
 | 
				
			||||||
  };
 | 
					  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  services.postgresql = {
 | 
				
			||||||
 | 
					    enable = true;
 | 
				
			||||||
 | 
					    package = pkgs.postgresql_15;
 | 
				
			||||||
 | 
					    enableTCPIP = true;
 | 
				
			||||||
 | 
					    authentication = pkgs.lib.mkOverride 10 ''
 | 
				
			||||||
 | 
					      local all all trust
 | 
				
			||||||
 | 
					    '';
 | 
				
			||||||
 | 
					  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  security.acme.acceptTerms = true;
 | 
					  security.acme.acceptTerms = true;
 | 
				
			||||||
@ -148,5 +155,13 @@
 | 
				
			|||||||
    credentialsFile = "/materus/config/valkyrie/certs.secret";
 | 
					    credentialsFile = "/materus/config/valkyrie/certs.secret";
 | 
				
			||||||
  };
 | 
					  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  security.acme.certs."podkos.xyz" = {
 | 
				
			||||||
 | 
					    domain = "podkos.xyz";
 | 
				
			||||||
 | 
					    group = "nginx";
 | 
				
			||||||
 | 
					    extraDomainNames = [ "*.podkos.xyz" ];
 | 
				
			||||||
 | 
					    dnsProvider = "ovh";
 | 
				
			||||||
 | 
					    credentialsFile = "/materus/config/valkyrie/certs.secret";
 | 
				
			||||||
 | 
					  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user