My Nix Configuration
at main 707 B view raw
1{ dn42Types, ... }: 2{ 3 config.dn42 = { 4 peers.uffsalot = { 5 as = 4242420780; 6 addr.v6 = "fe80::780"; 7 interface = "wg42_uffsalot"; 8 extendedNextHop = true; 9 # My side 10 srcAddr.v6 = "fe80::10"; 11 # Communities 12 crypto = dn42Types.crypto.safePFS; 13 latency = dn42Types.latency."148ms"; 14 bandwidth = dn42Types.bandwidth."1000mb"; 15 transit = true; 16 }; 17 wg.tunnels.uffsalot = { 18 listenPort = 42780; 19 peerPubKey = "7V65FxvD9AQetyUr0qSiu+ik8samB4Atrw2ekvC0xQM="; 20 peerEndpoint = "dn42-de-fra4.brand-web.net:42459"; 21 peerAddrs.v4 = "172.20.191.129"; 22 peerAddrs.v6 = "fe80::780"; 23 localAddrs.v6 = "fe80::10"; 24 }; 25 }; 26}