phantom: add lemmy
This commit is contained in:
		
							parent
							
								
									2c31e85b55
								
							
						
					
					
						commit
						1fe114cdcd
					
				
					 2 changed files with 16 additions and 0 deletions
				
			
		| 
						 | 
					@ -11,6 +11,7 @@
 | 
				
			||||||
    ../../system/nix.nix
 | 
					    ../../system/nix.nix
 | 
				
			||||||
    ./hardware-config.nix
 | 
					    ./hardware-config.nix
 | 
				
			||||||
    ./mastodon.nix
 | 
					    ./mastodon.nix
 | 
				
			||||||
 | 
					    ./lemmy.nix
 | 
				
			||||||
    ./nextcloud.nix
 | 
					    ./nextcloud.nix
 | 
				
			||||||
    ./nginx.nix
 | 
					    ./nginx.nix
 | 
				
			||||||
    ./syncthing.nix
 | 
					    ./syncthing.nix
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										15
									
								
								hosts/phantom/lemmy.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								hosts/phantom/lemmy.nix
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,15 @@
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
					  services.lemmy = {
 | 
				
			||||||
 | 
					    enable = true;
 | 
				
			||||||
 | 
					    settings = {
 | 
				
			||||||
 | 
					      hostname = "lemmy.lelgenio.com";
 | 
				
			||||||
 | 
					    };
 | 
				
			||||||
 | 
					    database.createLocally = true;
 | 
				
			||||||
 | 
					    nginx.enable = true;
 | 
				
			||||||
 | 
					  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  services.nginx.virtualHosts."lemmy.lelgenio.com" = {
 | 
				
			||||||
 | 
					    enableACME = true;
 | 
				
			||||||
 | 
					    forceSSL = true;
 | 
				
			||||||
 | 
					  };
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue