My Nix Configuration
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

[prefect.dn42] add prefixlabs

dish e2412dc8 cfc381c5

+27
+1
hosts/prefect/dn42/peers/default.nix
··· 14 14 (import ./kioubit.nix { inherit dn42Types; }) 15 15 (import ./lare.nix { inherit dn42Types; }) 16 16 (import ./potato.nix { inherit dn42Types; }) 17 + (import ./prefixlabs.nix { inherit dn42Types; }) 17 18 (import ./routedbits.nix { inherit dn42Types; }) 18 19 (import ./sunnet.nix { inherit dn42Types; }) 19 20 (import ./uffsalot.nix { inherit dn42Types; })
+26
hosts/prefect/dn42/peers/prefixlabs.nix
··· 1 + { dn42Types, ... }: 2 + { 3 + config.dn42 = { 4 + peers.prefixlabs = { 5 + as = 4242421240; 6 + addr.v6 = "fe80::1240:2"; 7 + interface = "wg42_prefixlabs"; 8 + extendedNextHop = true; 9 + # My side 10 + srcAddr.v6 = "fe80::240"; 11 + # Communities 12 + crypto = dn42Types.crypto.safePFS; 13 + latency = dn42Types.latency."7.3ms"; 14 + bandwidth = dn42Types.bandwidth."1000mb"; 15 + transit = true; 16 + }; 17 + wg.tunnels.prefixlabs = { 18 + listenPort = 43240; 19 + peerPubKey = "uRYzFGi+/B6pD0FR2SW3G/OzC5LPJXePNIt0s+nJfW0="; 20 + peerEndpoint = "us-01.prefixlabs.net:22459"; 21 + peerAddrs.v4 = "172.20.209.11"; 22 + peerAddrs.v6 = "fe80::1240:2"; 23 + localAddrs.v6 = "fe80::240"; 24 + }; 25 + }; 26 + }