nixos/system/services/owncast.nix

10 lines
266 B
Nix
Raw Normal View History

2024-05-24 12:14:41 +01:00
{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}";
}