update lock, related fixes

This commit is contained in:
outfoxxed 2025-02-28 17:42:21 -08:00
parent f9924ae189
commit 6f4f395ca3
Signed by: outfoxxed
GPG key ID: 4C88A185FB89301E
9 changed files with 142 additions and 161 deletions

39
systems/msi/airvpn.nix Normal file
View file

@ -0,0 +1,39 @@
{
/*
networking.firewall.allowedUDPPorts = [ 51820 ];
networking.wireguard.interfaces = {
airvpn-america = {
listenPort = 51820;
ips = [ "10.154.49.7/32" "fd7d:76ee:e68f:a993:be60:c90c:c237:479c/128" ];
mtu = 1320;
privateKeyFile = "/root/wireguard-keys/airvpn-america.private_key";
peers = [ {
publicKey = "PyLCXAQT8KkM4T+dUsOQfn+Ub3pGxfGlxkIApuig+hk=";
presharedKeyFile = "/root/wireguard-keys/airvpn-america.preshared_key";
allowedIPs = [ "0.0.0.0/0" "::/0" ];
endpoint = "america.vpn.airdns.org:1637";
persistentKeepalive = 15;
} ];
};
};
*/
networking.wg-quick.interfaces = {
airvpn-america = {
address = [ "10.154.49.7/32" "fd7d:76ee:e68f:a993:be60:c90c:c237:479c/128" ];
dns = [ "10.128.0.1" "fd7d:76ee:e68f:a993::1" ];
mtu = 1320;
privateKeyFile = "/root/wireguard-keys/airvpn-america.private_key";
peers = [ {
publicKey = "PyLCXAQT8KkM4T+dUsOQfn+Ub3pGxfGlxkIApuig+hk=";
presharedKeyFile = "/root/wireguard-keys/airvpn-america.preshared_key";
allowedIPs = [ "0.0.0.0/0" "::/0" ];
endpoint = "america.vpn.airdns.org:1637";
persistentKeepalive = 15;
} ];
};
};
}