From a19d8808a14d58fd64a0748bedbffd493bd78dca Mon Sep 17 00:00:00 2001 From: Yingchi Long Date: Thu, 28 Nov 2024 00:35:42 +0800 Subject: [PATCH] treewide: deprecation of "lyc.dev" domain --- home/lyc/modules/programs/ssh.nix | 14 +++++++------- home/lyc/modules/user.nix | 2 +- nixos/configurations/adrastea/networking.nix | 6 +++--- nixos/configurations/adrastea/wireguard.nix | 4 ++-- nixos/configurations/aplaz/wireguard.nix | 2 +- 5 files changed, 14 insertions(+), 14 deletions(-) diff --git a/home/lyc/modules/programs/ssh.nix b/home/lyc/modules/programs/ssh.nix index 642fef9..0a62513 100644 --- a/home/lyc/modules/programs/ssh.nix +++ b/home/lyc/modules/programs/ssh.nix @@ -14,38 +14,38 @@ port = 25884; }; hitmc-pub = { - hostname = "t.lyc.dev"; + hostname = "t.inclyc.cn"; user = "inclyc"; port = 12742; }; ten = { - hostname = "t.lyc.dev"; + hostname = "t.inclyc.cn"; user = "lyc"; port = 22; }; metis = { - hostname = "llvmws.lyc.dev"; + hostname = "llvmws.inclyc.cn"; user = "lyc"; port = 20122; }; adrastea = { - hostname = "llvmws.lyc.dev"; + hostname = "llvmws.inclyc.cn"; user = "lyc"; port = 20156; }; adrastea-v6 = adrastea // { - hostname = "6.adrastea.lyc.dev"; + hostname = "6.adrastea.inclyc.cn"; port = 22; }; adrastea-zxy = adrastea // { user = "zxy"; }; adrastea-zxy-v6 = adrastea-zxy // { - hostname = "6.adrastea.lyc.dev"; + hostname = "6.adrastea.inclyc.cn"; port = 22; }; adrastea-pub = { - hostname = "t.lyc.dev"; + hostname = "t.inclyc.cn"; user = "lyc"; port = 10120; }; diff --git a/home/lyc/modules/user.nix b/home/lyc/modules/user.nix index 14b8a0f..e3e628a 100644 --- a/home/lyc/modules/user.nix +++ b/home/lyc/modules/user.nix @@ -3,6 +3,6 @@ inclyc.user = { unixName = "lyc"; realName = "Yingchi Long"; - email = "i@lyc.dev"; + email = "longyingchi24s@ict.ac.cn"; }; } diff --git a/nixos/configurations/adrastea/networking.nix b/nixos/configurations/adrastea/networking.nix index 24bee7d..33d60dd 100644 --- a/nixos/configurations/adrastea/networking.nix +++ b/nixos/configurations/adrastea/networking.nix @@ -91,7 +91,7 @@ in sops.secrets."rathole-ssh-token" = { }; sops.templates."rathole-client.toml".content = '' [client] - remote_addr = "llvmws.lyc.dev:20155" # The address of the server. The port must be the same with the port in `server.bind_addr` + remote_addr = "llvmws.inclyc.cn:20155" # The address of the server. The port must be the same with the port in `server.bind_addr` [client.transport] type = "noise" @@ -108,7 +108,7 @@ in sops.secrets."ddns/cloudflare" = { }; services.ddns."cloudflare-adrastea" = { - ipv6 = "adrastea.lyc.dev"; + ipv6 = "adrastea.inclyc.cn"; index6 = "default"; dns = "cloudflare"; environmentFile = [ config.sops.secrets."ddns/cloudflare".path ]; @@ -116,7 +116,7 @@ in }; services.ddns."cloudflare-adrastea-6" = { - ipv6 = "6.adrastea.lyc.dev"; + ipv6 = "6.adrastea.inclyc.cn"; index6 = "default"; dns = "cloudflare"; environmentFile = [ config.sops.secrets."ddns/cloudflare".path ]; diff --git a/nixos/configurations/adrastea/wireguard.nix b/nixos/configurations/adrastea/wireguard.nix index 0a6f264..eab97c7 100644 --- a/nixos/configurations/adrastea/wireguard.nix +++ b/nixos/configurations/adrastea/wireguard.nix @@ -21,13 +21,13 @@ { PublicKey = "CMb1V4DaIsYRY5dNxZSzQZD6Xnd5/DNyDPJoRtosfgs="; AllowedIPs = [ "10.231.0.1/16" ]; - Endpoint = "llvmws.lyc.dev:20125"; + Endpoint = "llvmws.inclyc.cn:20125"; PersistentKeepalive = 25; } { PublicKey = "GcR4Wx7JUJOCO5Rs+gs0S4xbnC4NqU4ltCsSowjwEyg="; AllowedIPs = [ "0.0.0.0/0" ]; - Endpoint = "t.lyc.dev:45229"; + Endpoint = "t.inclyc.cn:45229"; PersistentKeepalive = 25; } ]; diff --git a/nixos/configurations/aplaz/wireguard.nix b/nixos/configurations/aplaz/wireguard.nix index 4d4f0c3..8b75c8c 100644 --- a/nixos/configurations/aplaz/wireguard.nix +++ b/nixos/configurations/aplaz/wireguard.nix @@ -24,7 +24,7 @@ wireguardPeerConfig = { PublicKey = "CMb1V4DaIsYRY5dNxZSzQZD6Xnd5/DNyDPJoRtosfgs="; AllowedIPs = [ "10.231.0.1/16" ]; - Endpoint = "llvmws.lyc.dev:20125"; + Endpoint = "llvmws.inclyc.cn:20125"; PersistentKeepalive = 25; }; }