Commit Graph

4 Commits

Author SHA1 Message Date
e97a2b65c2 pkgs.system -> pkgs.stdenv.hostPlatform.system 2026-06-04 14:00:55 +02:00
c62e8f10ea set wayland as default platform 2026-06-02 19:02:05 +02:00
dfb16cce4e Add per-process network drawer to the Network widget
Clicking the Network pill now toggles a drawer listing processes ranked
by network throughput, refreshed live only while open — mirroring the
CPU widget's top-processes drawer.

services/topnet.sh (single-shot, like topproc.sh) takes two `ss` snapshots
procInterval apart, diffs each TCP socket's cumulative rx/tx bytes by inode,
sums positive deltas per owning PID, and prints ranked "N <rx/s> <tx/s>
<name>" frames. SysStats re-runs it while netProcPollEnabled (drawer open)
using the same SplitParser-accumulate / parse-on-exit / re-arm plumbing as
procScan. Network.qml wraps its Pill in an Item and hangs a fixed-size
PopupWindow drawer off it.

ss (iproute2) is added to runtimeInputs since per-process byte accounting
has no virtual-file equivalent. Caveat: ss only exposes byte counters for
TCP sockets, so UDP/QUIC traffic is not attributed.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-02 18:40:26 +02:00
f8a4536a02 add full proj 2026-05-31 09:28:44 +02:00