mirror of
https://git.gay/xqtc/nixos-config
synced 2024-11-25 23:23:55 +01:00
beleth: this commit will change everything HUGE THINGS COMING PART 3. COMING TO A CINEMA NEAR YOU
This commit is contained in:
parent
c3dc2fbe27
commit
786be28eeb
|
@ -12,19 +12,21 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
networking.wireguard.interfaces = {
|
networking.wireguard.interfaces = {
|
||||||
ips = ["2a01:4f8:10a:1aab::2/64"];
|
wg0 = {
|
||||||
|
ips = ["2a01:4f8:10a:1aab::2/64"];
|
||||||
|
|
||||||
listenPort = 51820;
|
listenPort = 51820;
|
||||||
|
|
||||||
privateKeyFile = "/home/xqtc/wireguard-keys/private";
|
privateKeyFile = "/home/xqtc/wireguard-keys/private";
|
||||||
|
|
||||||
peers = [
|
peers = [
|
||||||
{
|
{
|
||||||
#anner
|
#anner
|
||||||
publicKey = "5ar4lh3Ra4TRmUJeeBtPgDvZnAkGssJDUN53y9oa3So=";
|
publicKey = "5ar4lh3Ra4TRmUJeeBtPgDvZnAkGssJDUN53y9oa3So=";
|
||||||
allowedIPs = ["2a0f:be01::/48"];
|
allowedIPs = ["2a0f:be01::/48"];
|
||||||
endpoint = "[2a0f:be01::1]:51822";
|
endpoint = "[2a0f:be01::1]:51822";
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue