2023-05-12 22:05:10 +01:00
|
|
|
{ config, lib, pkgs, ... }:
|
2021-12-01 14:47:40 +00:00
|
|
|
|
2021-12-08 16:39:00 +00:00
|
|
|
let
|
|
|
|
domain = "reddit.giugl.io";
|
2022-11-10 23:33:06 +00:00
|
|
|
in
|
|
|
|
{
|
2023-06-05 03:54:30 +01:00
|
|
|
services.libreddit = {
|
|
|
|
enable = true;
|
|
|
|
port = 9090;
|
|
|
|
};
|
|
|
|
|
|
|
|
architect.vhost.${domain} = {
|
|
|
|
dnsInterfaces = [ "lan" "tailscale" "wireguard" ];
|
|
|
|
locations."/".port = config.services.libreddit.port;
|
2021-12-01 14:47:40 +00:00
|
|
|
};
|
|
|
|
}
|