removed some config from streaming setup

This commit is contained in:
revol-xut 2022-10-18 10:51:05 +02:00
parent 909f827b10
commit 877da5918f
No known key found for this signature in database
GPG key ID: 4F56FF7759627D07
3 changed files with 34 additions and 17 deletions

View file

@ -0,0 +1,24 @@
{ config, ... }:
{
boot.kernel.sysctl."net.ipv4.ip_forward" = 1;
networking.wg-quick.interfaces = {
wg-dvb = {
# pubkey: 8iQQSCI14dObcrMw0/rZJxfvpOAhy3CU+haJq2nyIzc=
address = [ "10.13.37.1/32" ];
privateKeyFile = config.sops.secrets.wg-seckey.path;
listenPort = 51820;
peers = [
{
# Tassilo
publicKey = "vgo3le9xrFsIbbDZsAhQZpIlX+TuWjfEyUcwkoqUl2Y=";
allowedIPs = [ "10.13.37.2/32" ];
persistentKeepalive = 25;
}
];
};
};
}