phantom: add lemmy

This commit is contained in:
Leonardo Eugênio 2024-12-08 19:13:16 -03:00
parent 2c31e85b55
commit 1fe114cdcd
2 changed files with 16 additions and 0 deletions

15
hosts/phantom/lemmy.nix Normal file
View 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;
};
}