nix-home/nki-personal-do/phanpy.nix

17 lines
299 B
Nix
Raw Permalink Normal View History

2023-07-16 13:49:44 +00:00
{ 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";
};
}