diff --git a/home/common-linux.nix b/home/common-linux.nix index 90974b2..a9c4323 100644 --- a/home/common-linux.nix +++ b/home/common-linux.nix @@ -21,6 +21,7 @@ with lib; { tdesktop whatsapp-for-linux + obs-studio ] else [ ] ); diff --git a/nki-personal-do/configuration.nix b/nki-personal-do/configuration.nix index 179c74b..1d63ccf 100644 --- a/nki-personal-do/configuration.nix +++ b/nki-personal-do/configuration.nix @@ -21,6 +21,7 @@ ./synapse.nix ./phanpy.nix ./invidious.nix + ./owncast.nix ]; common.linux.enable = false; # Don't enable the "common linux" module, this is a special machine. diff --git a/nki-personal-do/owncast.nix b/nki-personal-do/owncast.nix new file mode 100644 index 0000000..01de844 --- /dev/null +++ b/nki-personal-do/owncast.nix @@ -0,0 +1,19 @@ +{ pkgs, config, lib, ... }: +let + host = "owncast.nkagami.me"; + port = 61347; + user = "owncast"; +in +{ + # traefik + cloud.traefik.hosts.owncast = { + inherit port host; + }; + services.owncast = { + inherit user port; + listen = "0.0.0.0"; # Listen to direct IP requests too + enable = true; + openFirewall = true; + dataDir = "${config.fileSystems.data.mountPoint}/owncast"; + }; +}