Add initial owncast config file

This commit is contained in:
Evie Litherland-Smith 2024-05-24 12:14:41 +01:00
parent 3b5cf11ce7
commit c86bfe931a

9
services/owncast.nix Normal file
View file

@ -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}";
}