nixos/system/services/owncast.nix

12 lines
274 B
Nix

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