summaryrefslogtreecommitdiff
path: root/config/vpn-client.nix
diff options
context:
space:
mode:
Diffstat (limited to 'config/vpn-client.nix')
-rw-r--r--config/vpn-client.nix24
1 files changed, 0 insertions, 24 deletions
diff --git a/config/vpn-client.nix b/config/vpn-client.nix
deleted file mode 100644
index 9b493e8..0000000
--- a/config/vpn-client.nix
+++ /dev/null
@@ -1,24 +0,0 @@
-{ config, lib, pkgs, ... }:
-let
- port = (import ../data/aliases.nix).services.wireguard.port;
-in
-{
- networking.wireguard = {
- interfaces = {
- wg0 = {
- ips = [ "10.35.190.2/23" ];
- privateKeyFile = "/opt/secret/wireguard/wg0.key";
- listenPort = port;
- allowedIPsAsRoutes = false;
- peers = [
- {
- publicKey = "KT4sWKnlvPebJh0pYhGpiZksn4cCwKreB6fQCJV49F8=";
- endpoint = "dragon.orbekk.com:${toString port}";
- allowedIPs = ["0.0.0.0/0" "::/0"];
- }
- ];
- };
- };
- };
-}
-