mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-11-13 12:13:46 +01:00
fix(noctalia): avoid mihomo network speed double count (#414)
This commit is contained in:
1 parent
dc211bbca3
commit
efd279c7d1
3 files changed
+16
No files matched your search
@@ -6,3 +6,10 @@
|
||||
[brightness.monitor.eDP-1]
|
||||
backend = "backlight"
|
||||
backlight_device = "apple-panel-bl"
|
||||
|
||||
# The default total counts packets on both Mihomo's TUN and the Wi-Fi uplink.
|
||||
[widget.net_rx]
|
||||
interface = "wld0"
|
||||
|
||||
[widget.net_tx]
|
||||
interface = "wld0"
|
||||
@@ -34,6 +34,9 @@ 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.
|
||||
xdg.configFile."noctalia/host-ai.toml".source = ./idols-ai/noctalia.toml;
|
||||
|
||||
# The desktop speakers are already loud, so use the broadcast-standard -23 dB.
|
||||
services.easyeffects.extraPresets."loudness-normalization".output."autogain#0".target = -23.0;
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
# The default total counts packets on both Mihomo's TUN and the physical uplink.
|
||||
[widget.net_rx]
|
||||
interface = "enp130s0"
|
||||
|
||||
[widget.net_tx]
|
||||
interface = "enp130s0"
|
||||
Reference in new issue
Block a user