mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-11-13 12:13:46 +01:00
fix(ai): match the wired NIC by prefix, not by name
Assisted-by: DeepSeek Harness (deepseek-flash)
This commit is contained in:
1 parent
55b7741108
commit
492dcb13fe
6 files changed
+46
-9
No files matched your search
+4
-2
@@ -44,8 +44,10 @@ rec {
|
||||
# monitoring skip those entries.
|
||||
hostsAddr = {
|
||||
ai = {
|
||||
# Desktop PC
|
||||
iface = "enp130s0";
|
||||
# Desktop PC. `iface` is only for the two consumers that need one exact name
|
||||
# — mihomo's DNS takeover hook and the Noctalia net-speed widget; networkd
|
||||
# matches the wired interface by its `en*` prefix (hosts/idols-ai/default.nix).
|
||||
iface = "enp4s0";
|
||||
ipv4 = "192.168.5.100";
|
||||
ipv6 = "fe80::10"; # Link-local Address
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user