Skip to content

Commit

Permalink
treewide: deprecation of "lyc.dev" domain
Browse files Browse the repository at this point in the history
  • Loading branch information
inclyc committed Nov 27, 2024
1 parent 3be8213 commit a19d880
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 14 deletions.
14 changes: 7 additions & 7 deletions home/lyc/modules/programs/ssh.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};
Expand Down
2 changes: 1 addition & 1 deletion home/lyc/modules/user.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
inclyc.user = {
unixName = "lyc";
realName = "Yingchi Long";
email = "[email protected]";
email = "[email protected]";
};
}
6 changes: 3 additions & 3 deletions nixos/configurations/adrastea/networking.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -108,15 +108,15 @@ 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 ];
onCalendar = "minutely";
};

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 ];
Expand Down
4 changes: 2 additions & 2 deletions nixos/configurations/adrastea/wireguard.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
];
Expand Down
2 changes: 1 addition & 1 deletion nixos/configurations/aplaz/wireguard.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};
}
Expand Down

0 comments on commit a19d880

Please sign in to comment.