nixos/hosts/gAluminum/wireguard.nix

16 lines
399 B
Nix
Raw Permalink Normal View History

2021-10-13 13:29:07 +01:00
{
networking.wg-quick.interfaces = {
2021-11-25 11:38:00 +00:00
giupi = {
2021-11-25 11:42:32 +00:00
address = [ "10.3.0.2/32" ];
2021-11-25 11:38:00 +00:00
privateKeyFile = "/etc/wireguard/giupi.key";
2021-11-25 11:42:32 +00:00
dns = [ "10.3.0.1" ];
peers = [{
publicKey = "I4glUMvIGjjhvQMKhwGc8copPl2t9Us/YYRjT0BKuiw=";
allowedIPs = [ "0.0.0.0/0" ];
endpoint = "architect.devs.giugl.io:1194";
persistentKeepalive = 25;
}];
2021-10-13 13:29:07 +01:00
};
2021-11-25 11:38:00 +00:00
};
2021-10-13 13:29:07 +01:00
}