vpn v9
This commit is contained in:
@@ -44,6 +44,23 @@ in {
|
||||
networking = {
|
||||
hostName = "sobotka";
|
||||
domain = "cnst.dev";
|
||||
wireguard = {
|
||||
interfaces.wg0 = {
|
||||
ips = [
|
||||
"127.0.0.1/8"
|
||||
];
|
||||
peers = [
|
||||
{
|
||||
allowedIPs = [
|
||||
"192.168.88.13/24"
|
||||
];
|
||||
# endpoint = "demo.wireguard.io:12913";
|
||||
# publicKey = "xTIBA5rboUvnH4htodjb6e697QjLERt1NAB4mZqp8Dg=";
|
||||
}
|
||||
];
|
||||
# privateKey = "yAnz5TF+lXXJte14tji3zlMNq+hd2rYUIgJBgB3fBmk=";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
powerManagement.enable = false;
|
||||
|
||||
Reference in New Issue
Block a user