Files
nixos/hosts/freun.dev/services/owncast.nix
2025-02-08 15:42:01 +02:00

15 lines
249 B
Nix

{ ... }:
let
fqdn = "stream.freun.dev";
port = 8080;
in
{
services.owncast = {
enable = true;
openFirewall = true;
inherit port;
};
modules.webserver.vHosts.${fqdn}.locations."/".proxy = "http://127.0.0.1:${toString port}";
}