diff --git a/services/owncast.nix b/services/owncast.nix new file mode 100644 index 00000000..86d30e52 --- /dev/null +++ b/services/owncast.nix @@ -0,0 +1,9 @@ +{config, ...}: { + imports = [./caddy.nix]; + services.owncast = { + enable = true; + port = 9090; + openFirewall = true; + }; + services.caddy.virtualHosts."stream.xenia.me.uk".extraConfig = "reverse_proxy http://localhost:${config.services.owncast.port}"; +}