phantom: add lemmy

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

View file

@ -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
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;
};
}