summaryrefslogblamecommitdiff
path: root/nixos/route48.nix
blob: 3dbdb44b921c0596e753ba724ab921d1ee0ae5aa (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13












                                                                 
{ config, pkgs, ... }:
{
  networking.wg-quick.interfaces.route48 = {
    privateKeyFile = "/root/route48private";
    address = [ "2a06:a004:3089::2/48" ];
    peers = [{
      publicKey = "W0pI832mL5u7JzJjiE68dyS95mIGBDqGgSxSZromEGY=";
      allowedIPs = ["::/1"  "8000::/1"]; 
      endpoint = "par-fr.node.route48.org:51890";
      persistentKeepalive = 60;
    }];
  };
}