From c86bfe931a21fd713039c7a9acf85defbc8d392e Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Fri, 24 May 2024 12:14:41 +0100 Subject: [PATCH] Add initial owncast config file --- services/owncast.nix | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 services/owncast.nix 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}"; +}