This builds the important website for both snix.systems and its predecessor, tvix.systems. Change-Id: I4cce5595098c804bd4df0cc2ae3c05344138e7b1 Reviewed-on: https://cl.snix.dev/c/snix/+/30502 Autosubmit: Florian Klink <flokli@flokli.de> Reviewed-by: Ryan Lahfa <ryan@lahfa.xyz> Tested-by: besadii
		
			
				
	
	
		
			20 lines
		
	
	
	
		
			368 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
	
		
			368 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
{ depot, ... }:
 | 
						|
 | 
						|
{
 | 
						|
  imports = [
 | 
						|
    ./base.nix
 | 
						|
  ];
 | 
						|
 | 
						|
  config = {
 | 
						|
    services.nginx.virtualHosts."snix.systems" = {
 | 
						|
      enableACME = true;
 | 
						|
      forceSSL = true;
 | 
						|
      root = depot.fun.solves-this.snix;
 | 
						|
    };
 | 
						|
    services.nginx.virtualHosts."tvix.systems" = {
 | 
						|
      enableACME = true;
 | 
						|
      forceSSL = true;
 | 
						|
      root = depot.fun.solves-this.tvix;
 | 
						|
    };
 | 
						|
  };
 | 
						|
}
 |