diff options
| author | Grigory Shipunov | 2022-07-11 19:27:51 +0200 |
|---|---|---|
| committer | Grigory Shipunov | 2022-07-11 19:27:51 +0200 |
| commit | 4368fa3920a477ef5d421b3174de933637a4bd12 (patch) | |
| tree | bdddea10bcb8fe9f49f2468244fa6d21a1f06d45 /modules | |
| parent | ad486191bc0c8aa919c357d437951c0a42d5718d (diff) | |
mircowave: use iwd, resolvd and networkmanager
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/wireguard.nix | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/modules/wireguard.nix b/modules/wireguard.nix deleted file mode 100644 index 871dc6e..0000000 --- a/modules/wireguard.nix +++ /dev/null @@ -1,54 +0,0 @@ -{ config, ... }: - -{ - networking.wg-quick.interfaces = { - wg-zw = { - privateKeyFile = config.sops.secrets."wg/wg-zw-seckey".path; - address = [ "172.20.76.226" ]; - dns = [ "172.20.73.8" ]; - peers = [ - { - publicKey = "PG2VD0EB+Oi+U5/uVMUdO5MFzn59fAck6hz8GUyLMRo="; - endpoint = "81.201.149.152:1337"; - allowedIPs = [ "172.20.72.0/21" "172.22.99.0/24" ]; - } - ]; - }; - - wg-dvb = { - privateKeyFile = config.sops.secrets."wg/wg-dvb-seckey".path; - address = [ "10.13.37.3/32" ]; - - peers = [{ - publicKey = "WDvCObJ0WgCCZ0ORV2q4sdXblBd8pOPZBmeWr97yphY="; - allowedIPs = [ "10.13.37.0/24" ]; - endpoint = "academicstrokes.com:51820"; - persistentKeepalive = 25; - }]; - }; - - mlwd-nl = { - privateKeyFile = config.sops.secrets."wg/mlwd-nl-seckey".path; - address = [ "10.65.79.164/32" "fc00:bbbb:bbbb:bb01::2:4fa3/128" ]; - dns = [ "193.138.218.74" ]; - - peers = [{ - publicKey = "StMPmol1+QQQQCJyAkm7t+l/QYTKe5CzXUhw0I6VX14="; - allowedIPs = [ "0.0.0.0/0" "::0/0" ]; - endpoint = "92.60.40.194:51820"; - }]; - }; - - oxalab = { - privateKeyFile = config.sops.secrets."wg/oxalab-seckey".path; - address = [ "10.66.66.10/32" ]; - - peers = [{ - publicKey = "5nCVC21BL+1r70OGwA4Q6Z/gcPLC3+ZF8sTurdn7N0E="; - allowedIPs = [ "10.66.66.0/24" ]; - endpoint = "95.216.166.21:51820"; - persistentKeepalive = 25; - }]; - }; - }; -} |
