Add a Phanpy fork frontend to GtS

This commit is contained in:
Natsu Kagami 2023-07-16 15:49:44 +02:00
parent a1e567e5f4
commit 4390c7d682
Signed by: nki
GPG key ID: 55A032EB38B49ADB
5 changed files with 101 additions and 13 deletions

View file

@ -19,6 +19,7 @@
./miniflux.nix
./writefreely.nix
./synapse.nix
./phanpy.nix
];
common.linux.enable = false; # Don't enable the "common linux" module, this is a special machine.

View file

@ -0,0 +1,16 @@
{ config, pkgs, lib, ... }:
let
host = "social.dtth.ch";
port = 61010;
in
{
cloud.traefik.hosts.phanpy = { inherit host port; };
services.nginx.virtualHosts.phanpy = {
listen = [{
inherit port;
addr = "127.0.0.1";
}];
root = "${pkgs.dtth-phanpy}/lib/phanpy";
};
}