eyJhb changed the topic of #nixos-on-your-router to: NixOS on your Router || https://logs.nix.samueldr.com/nixos-on-your-router
<flokli> mdlayher: awesome :-)
<flokli> mdlayher: so what's the basic idea? you want to only use modemmanager and set up the connection by yourself? Or you still want to let networkmanager take care of connection setup, but want to read things like https://www.freedesktop.org/software/ModemManager/api/latest/gdbus-org.freedesktop.ModemManager1.Modem.Signal.html
teto has joined #nixos-on-your-router
<mdlayher> flokli: exactly, I'll let MM manage the device lifecycle and just pull stats from it because it has well defined APIs for doing so
<flokli> Sounds good :-)
<mdlayher> D-Bus is a bit of a trip with all of its concepts and OOP-like naming conventions, but I managed to get something workable going! Just trying to figure out how much of the API I need to implement to build a workable exporter
makefu has quit [*.net *.split]
makefu has joined #nixos-on-your-router
mdlayher has quit [Ping timeout: 246 seconds]
mdlayher has joined #nixos-on-your-router
<flokli> mdlayher: there are client libraries that should make this easy enough
<mdlayher> i am using one and have managed to abstract it away enough where it is less of a pain to test.
Guest38_ has joined #nixos-on-your-router
Guest38_ has quit [Remote host closed the connection]
teto has quit [Quit: WeeChat 2.8]
<mdlayher> flokli: just pushed! https://github.com/NixOS/nixpkgs/pull/93291
<{^_^}> #93291 (by mdlayher, 30 seconds ago, open): prometheus-modemmanager-exporter: init at 0.1.0, add NixOS module
{^_^} has quit [Remote host closed the connection]
{^_^} has joined #nixos-on-your-router
betawaffle has quit [Ping timeout: 244 seconds]
betawaffle has joined #nixos-on-your-router
makefu has quit [*.net *.split]
makefu has joined #nixos-on-your-router