wireguard: Disable on darwin
It wasn't really working anyway, and a dependency is failing to build
This commit is contained in:
parent
297b8d480b
commit
2ace9f3275
1 changed files with 16 additions and 16 deletions
|
@ -6,20 +6,20 @@ let
|
||||||
pskFile = config.chvp.base.network.wireguard.pskFile;
|
pskFile = config.chvp.base.network.wireguard.pskFile;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
networking.wg-quick.interfaces."wg0" = {
|
# networking.wg-quick.interfaces."wg0" = {
|
||||||
address = [ "${data.${config.networking.hostName}.ip}/32" ];
|
# address = [ "${data.${config.networking.hostName}.ip}/32" ];
|
||||||
autostart = true;
|
# autostart = true;
|
||||||
dns = [ data.lasting-integrity.ip ];
|
# dns = [ data.lasting-integrity.ip ];
|
||||||
mtu = 1342;
|
# mtu = 1342;
|
||||||
peers = [
|
# peers = [
|
||||||
{
|
# {
|
||||||
allowedIPs = [ subnet ];
|
# allowedIPs = [ subnet ];
|
||||||
endpoint = "lasting-integrity.vanpetegem.me:51820";
|
# endpoint = "lasting-integrity.vanpetegem.me:51820";
|
||||||
presharedKeyFile = pskFile;
|
# presharedKeyFile = pskFile;
|
||||||
persistentKeepalive = 25;
|
# persistentKeepalive = 25;
|
||||||
publicKey = data.lasting-integrity.pubkey;
|
# publicKey = data.lasting-integrity.pubkey;
|
||||||
}
|
# }
|
||||||
];
|
# ];
|
||||||
privateKeyFile = data.${config.networking.hostName}.privkeyFile;
|
# privateKeyFile = data.${config.networking.hostName}.privkeyFile;
|
||||||
};
|
# };
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue