mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-11-29 01:32:37 +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
@@ -34,7 +34,8 @@ in
|
||||
xdg.configFile."niri/niri-hardware.kdl".source =
|
||||
mkSymlink "${config.home.homeDirectory}/nix-config/hosts/idols-ai/niri-hardware.kdl";
|
||||
|
||||
# Keep Noctalia's network widgets on the physical uplink, not the Mihomo TUN.
|
||||
# Keep Noctalia's network widgets on the physical uplink, not the Mihomo TUN
|
||||
# (the interface name is in ./idols-ai/noctalia.toml and `hostsAddr.ai.iface`).
|
||||
xdg.configFile."noctalia/host-ai.toml".source = ./idols-ai/noctalia.toml;
|
||||
|
||||
# The desktop speakers are already loud, so use the broadcast-standard -23 dB.
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
# The default total counts packets on both Mihomo's TUN and the physical uplink.
|
||||
# Noctalia matches an exact name and takes no pattern, so the wired NIC is named
|
||||
# here and in `hostsAddr.ai.iface`; `idols-ai-net` asserts each widget separately.
|
||||
# networkd itself matches the `en*` prefix.
|
||||
[widget.net_rx]
|
||||
interface = "enp130s0"
|
||||
interface = "enp4s0"
|
||||
|
||||
[widget.net_tx]
|
||||
interface = "enp130s0"
|
||||
interface = "enp4s0"
|
||||
Reference in new issue
Block a user