Add owncast
This commit is contained in:
parent
8a430a1399
commit
5d2ea18b48
|
@ -21,6 +21,7 @@ with lib; {
|
||||||
|
|
||||||
tdesktop
|
tdesktop
|
||||||
whatsapp-for-linux
|
whatsapp-for-linux
|
||||||
|
obs-studio
|
||||||
]
|
]
|
||||||
else [ ]
|
else [ ]
|
||||||
);
|
);
|
||||||
|
|
|
@ -21,6 +21,7 @@
|
||||||
./synapse.nix
|
./synapse.nix
|
||||||
./phanpy.nix
|
./phanpy.nix
|
||||||
./invidious.nix
|
./invidious.nix
|
||||||
|
./owncast.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
common.linux.enable = false; # Don't enable the "common linux" module, this is a special machine.
|
common.linux.enable = false; # Don't enable the "common linux" module, this is a special machine.
|
||||||
|
|
19
nki-personal-do/owncast.nix
Normal file
19
nki-personal-do/owncast.nix
Normal file
|
@ -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";
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue