phantom: set hostname
This commit is contained in:
		
							parent
							
								
									97915651db
								
							
						
					
					
						commit
						a1631f7732
					
				
					 2 changed files with 2 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -20,6 +20,8 @@
 | 
			
		|||
    ./forgejo.nix
 | 
			
		||||
  ];
 | 
			
		||||
 | 
			
		||||
  networking.hostName = "phantom";
 | 
			
		||||
 | 
			
		||||
  services.nginx.virtualHosts."lelgenio.com" = {
 | 
			
		||||
    enableACME = true;
 | 
			
		||||
    forceSSL = true;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -5,9 +5,6 @@
 | 
			
		|||
  ...
 | 
			
		||||
}:
 | 
			
		||||
{
 | 
			
		||||
  # It's important to let Digital Ocean set the hostname so we get rDNS to work
 | 
			
		||||
  networking.hostName = "";
 | 
			
		||||
 | 
			
		||||
  imports = [ inputs.nixos-mailserver.nixosModules.mailserver ];
 | 
			
		||||
 | 
			
		||||
  mailserver = {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue