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 30, 2024
1 parent 3be8213 commit fc66cba
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 17 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
6 changes: 3 additions & 3 deletions secrets/general.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ email:
password: ENC[AES256_GCM,data:AXI9RkSetE7EwoKBSsYyZg==,iv:bUxhvsGkztiNJmDA9XUgklFt4NUDbWjJwqIyJgJxgWU=,tag:DWmoR8UbqGscKpRCyIBmhA==,type:str]
swyjs-credential: ENC[AES256_GCM,data:QPCz7LrmLasix3uHuftClwVow1aCvg0cHCllnzlVjOmb6PWOgX/+azNaWOos6/P4R9yA62T7T6o4bLF7QHqE1xvPqc7omF63sA0hk7plFfb9rPYmTUWe,iv:MzYgRxfgcr8zKJ9v6myQhUsyI/ZpA7/qbFhqwZabGn8=,tag:+69k5Y4gISPgUY5Byfr0vQ==,type:str]
ddns:
cloudflare: ENC[AES256_GCM,data:UcthJzZqzK9wZe7Hx0p7T5QYDvAfPEJb8EntiATvIMjHKd/mqkr+6MoSALkyhSNZBUrvPA==,iv:kgiOY5Ki3szzYc8yremLUXGX7E8K12fBA/2BZMzEUH0=,tag:BXIYPRjd+sNq8/nr1X/5eA==,type:str]
cloudflare: ENC[AES256_GCM,data:b3JqvbJysRsTXm34Ec2Ltqzy/JsnMEu8YsdFDrWTYznALcOXp5Vy/UY/7lCVYC3w4ccFPw==,iv:DXxwGeRiP2XcZKO8fVERdkpKib6RhhxG5dWyaU0mP2s=,tag:qT9xLNOwOStiVH5U6mlmuA==,type:str]
dnspod: ENC[AES256_GCM,data:WdJouq3pD8Ld16H1nl6yQg+6DjJFCdqR4m45oIahDLYqFLKE/CLinx2fdizHjbRQtk1DOSEEFXPE8ek=,iv:wtOddFfzRG3o3R1HaECF+MpMnP2je6JoiPYUlol1Vr8=,tag:TN7RTWGrbNtuufqRBYys5g==,type:str]
clash-provider:
dler: ENC[AES256_GCM,data:5WapDgbdTNoqpcBS3uH0K/NBx+ZT0nffz8/1/7BypPCFL6da18BY9z2EFMvMukm+e4OjjnBFU0nmNwuOLbwE9kjapDPjqaKEyLtY4DjhUAk=,iv:VuGCzTFGbim9iZmgx4KCGO41T536SABdMrRDtkXYNOs=,tag:y+Wc7tSC39GkzqOa7LcGyg==,type:str]
Expand Down Expand Up @@ -63,8 +63,8 @@ sops:
ZDg0T2hqR2tROVI1T1BLeFNnaGVYY1EKOnOp5ZPo48XIB7d9PnG2sKvsoLX32XEm
Pqf4UTOmT47SSKsvu5xgxPXJrhBySkspn97gtpl9bYG4n8HYCSw+hg==
-----END AGE ENCRYPTED FILE-----
lastmodified: "2024-11-06T14:42:41Z"
mac: ENC[AES256_GCM,data:yP12RQWSBqT2zMGsy6xDLzenna2rrSEXdpZbyqN71q16bHzlobr22K3JTsw1zVmuklQC5X7x0srC+3ira6WIRrmi7R+O5hYlhXjnX1qVgRVNwGZkaf3j8pha6TUh34g8IrBHSlrLApWAIRDk3vjQvEEEKlyfK1DV7X7eO2p9eoY=,iv:X/sfI+05AtlTWHvFGBD+1RdlgLIKpM6c0bOlCU90raM=,tag:l71uJ1RTk21wlFwGBl3+CA==,type:str]
lastmodified: "2024-11-27T17:03:22Z"
mac: ENC[AES256_GCM,data:aA3nNctclT040XLk46Lon7LaxqmK5xPB1Qxrvm2Sfc1jEo/0q4Sx008o1euSX1zhPDyHftJco40uUyGvRo1mOH4XCFTzTxHvMWCJUUsTEkrl7bLgK63pEohCUAoeVWnVKMeHGuthPqb94PbpKFpzf46o7DihJ7fTwDMU4QUduk4=,iv:dUymSvKQhZbesmlhlYJCO7xjIybXPltG57Er0+oHRpU=,tag:WxLxh2JhK5keXdEhXkaF2A==,type:str]
pgp: []
unencrypted_suffix: _unencrypted
version: 3.9.1

0 comments on commit fc66cba

Please sign in to comment.