nixos/hosts/architect/libreddit.nix

17 lines
274 B
Nix
Raw Normal View History

{ config, lib, pkgs, ... }:
let
domain = "reddit.giugl.io";
in
{
2023-06-05 03:54:30 +01:00
services.libreddit = {
enable = true;
port = 9090;
};
2023-10-21 14:00:58 +01:00
2023-06-05 03:54:30 +01:00
architect.vhost.${domain} = {
2023-10-21 14:00:58 +01:00
dnsInterfaces = [ "lan" "tailscale" ];
2023-06-05 03:54:30 +01:00
locations."/".port = config.services.libreddit.port;
};
}