mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-05-28 09:19:09 +02:00
chore: add static ip for shoukei
This commit is contained in:
+8
-15
@@ -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
|
||||||
+ ''
|
+ ''
|
||||||
|
|||||||
Reference in New Issue
Block a user