forked from wurzel/fruitbasket
removed some config from streaming setup
This commit is contained in:
parent
909f827b10
commit
877da5918f
3 changed files with 34 additions and 17 deletions
24
hosts/quitte/wireguard_server.nix
Normal file
24
hosts/quitte/wireguard_server.nix
Normal 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;
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue