mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-26 21:15:37 +00:00
unused wireguard config
This commit is contained in:
parent
f1fda23f3f
commit
3ea0e40121
14
modules/services/wireguard.nix
Normal file
14
modules/services/wireguard.nix
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
{ ... }: {
|
||||||
|
networking.wireguard.interfaces = {
|
||||||
|
wg0 = {
|
||||||
|
ips = [ "10.0.0.1/32" "fc00:bbbb:bbbb:bb01::3:7fea/128" ];
|
||||||
|
privateKeyFile = "/private/wireguard-pk";
|
||||||
|
peers = [{
|
||||||
|
publicKey = "ABCDEFABCDEF";
|
||||||
|
allowedIPs = [ "0.0.0.0/0" "::0/0" ];
|
||||||
|
endpoint = "10.0.0.1:51820";
|
||||||
|
persistentKeepalive = 25;
|
||||||
|
}];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user