Add initial support for Icecast and Liquidsoap, to later replace Azuracast and Docker

This commit is contained in:
Jimbo 2024-09-07 00:38:19 -04:00
parent a0ac0f631c
commit 1e4989e67d
6 changed files with 58 additions and 13 deletions

View file

@ -2,10 +2,14 @@
ips = import ../modules/ips.nix;
in {
# enable NAT
networking.nat.enable = true;
networking.nat.externalInterface = "${ips.netInt}";
networking.nat.internalInterfaces = [ "wg0" ];
networking.firewall.allowedUDPPorts = [ 51820 ];
networking = {
nat = {
enable = true;
externalInterface = "${ips.netInt}";
internalInterfaces = [ "wg0" ];
};
firewall.allowedUDPPorts = [ 51820 ];
};
networking.wireguard = {
enable = true;