Add initial support for Icecast and Liquidsoap, to later replace Azuracast and Docker
This commit is contained in:
parent
a0ac0f631c
commit
1e4989e67d
6 changed files with 58 additions and 13 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue