nixos/hosts/gAluminum/wireguard.nix
Giulio De Pasquale 91ef8ff1e2 formatting
2021-11-25 11:42:32 +00:00

16 lines
399 B
Nix

{
networking.wg-quick.interfaces = {
giupi = {
address = [ "10.3.0.2/32" ];
privateKeyFile = "/etc/wireguard/giupi.key";
dns = [ "10.3.0.1" ];
peers = [{
publicKey = "I4glUMvIGjjhvQMKhwGc8copPl2t9Us/YYRjT0BKuiw=";
allowedIPs = [ "0.0.0.0/0" ];
endpoint = "architect.devs.giugl.io:1194";
persistentKeepalive = 25;
}];
};
};
}