phantom: add lemmy
This commit is contained in:
parent
7506219a1e
commit
f755ab3172
|
@ -11,6 +11,7 @@
|
|||
../../system/nix.nix
|
||||
./hardware-config.nix
|
||||
./mastodon.nix
|
||||
./lemmy.nix
|
||||
./nextcloud.nix
|
||||
./nginx.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…
Reference in a new issue