removed old wireguard
This commit is contained in:
parent
8a2f5c7061
commit
a3d73cf6cd
|
@ -1,24 +0,0 @@
|
|||
{ 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;
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
|
Loading…
Reference in a new issue