forked from Deuxfleurs/nixcfg
aded a comment by Max
This commit is contained in:
parent
777896a434
commit
9578121f5b
1 changed files with 1 additions and 0 deletions
|
@ -25,6 +25,7 @@ in
|
||||||
networking.nameservers = [ "9.9.9.9" ];
|
networking.nameservers = [ "9.9.9.9" ];
|
||||||
|
|
||||||
# Wireguard VPN configuration
|
# Wireguard VPN configuration
|
||||||
|
# TODO: Max dit qu'on peut monter persistentKeepalive à 25s car les NAT ne mettent pas de tiemout inférieur à 30s
|
||||||
networking.wireguard.interfaces.wg0 = {
|
networking.wireguard.interfaces.wg0 = {
|
||||||
privateKeyFile = "/root/wireguard-keys/private";
|
privateKeyFile = "/root/wireguard-keys/private";
|
||||||
peers = [
|
peers = [
|
||||||
|
|
Loading…
Reference in a new issue