From c3527ce8e863d54e783637cbf8f0b310f638446d Mon Sep 17 00:00:00 2001 From: Yan Lin Date: Wed, 10 Sep 2025 19:06:36 +0200 Subject: [PATCH] Replace placeholder keys --- hosts/nixos/hs/system.nix | 6 ++---- hosts/nixos/vps/system.nix | 4 +--- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/hosts/nixos/hs/system.nix b/hosts/nixos/hs/system.nix index e591755..a5d380e 100644 --- a/hosts/nixos/hs/system.nix +++ b/hosts/nixos/hs/system.nix @@ -296,10 +296,8 @@ mode = "client"; clientConfig = { address = "10.2.2.20/24"; - # Public key will be generated when VPS is configured - # Replace with actual public key from VPS after initial setup - serverPublicKey = "REPLACE_WITH_VPS_PUBLIC_KEY"; - serverEndpoint = "YOUR_VPS_IP:51820"; # Replace with actual VPS public IP + serverPublicKey = "46QHjSzAas5g9Hll1SCEu9tbR5owCxXAy6wGOUoPwUM="; + serverEndpoint = "91.98.84.215:51820"; allowedIPs = [ "10.2.2.0/24" ]; }; }; diff --git a/hosts/nixos/vps/system.nix b/hosts/nixos/vps/system.nix index fd4ebc0..3cea085 100644 --- a/hosts/nixos/vps/system.nix +++ b/hosts/nixos/vps/system.nix @@ -144,9 +144,7 @@ peers = [ { name = "hs"; - # Public key will be generated when HS is configured - # Replace with actual public key from HS after initial setup - publicKey = "REPLACE_WITH_HS_PUBLIC_KEY"; + publicKey = "HZY7V8QlnFvY6ZWNiI0WgUgWUISnEqUdzXi7Oq9M1Es="; allowedIPs = [ "10.2.2.20/32" ]; } ];