chore: add static ip for shoukei

This commit is contained in:
Ryan Yin
2025-07-25 13:48:04 +08:00
parent 58dc1d49f6
commit e226d4b28f
+8 -15
View File
@@ -76,6 +76,13 @@
iface = "end1"; iface = "end1";
ipv4 = "192.168.5.107"; ipv4 = "192.168.5.107";
}; };
shoukei = {
# Apple M2 + NixOS
# Used only when at home
iface = "wlan0";
ipv4 = "192.168.5.108";
ipv6 = "fe80::11"; # Link-local Address
};
rakushun = { rakushun = {
# Orange Pi 5 - ARM # Orange Pi 5 - ARM
# RJ45 port 1 - enP4p65s0 # RJ45 port 1 - enP4p65s0
@@ -171,21 +178,7 @@
# IdentityFile — the location of your SSH key authentication file for the account. # IdentityFile — the location of your SSH key authentication file for the account.
# Format in details: # Format in details:
# https://www.ssh.com/academy/ssh/config # https://www.ssh.com/academy/ssh/config
extraConfig = extraConfig = (lib.attrsets.foldlAttrs
''
Host gtr5
HostName 192.168.5.172
Port 22
Host um560
HostName 192.168.5.173
Port 22
Host s500plus
HostName 192.168.5.174
Port 22
''
+ (lib.attrsets.foldlAttrs
(acc: host: val: (acc: host: val:
acc acc
+ '' + ''