15 lines
249 B
Nix
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://localhost:${toString port}";
|
|
}
|