Adcock has left #nixos-on-your-router ["WeeChat 2.7.1"]
NinjaTrappeur has quit [Quit: WeeChat 2.8]
NinjaTrappeur has joined #nixos-on-your-router
<mdlayher>
just added support for a settings Nix attribute set which can be converted into TOML for use with the daemon I wrote. feels great.
<mdlayher>
so much better than doing string interpolation to spit out a config file
<clever>
mdlayher: that could probably be done with builtins.toJSON and a json-to-toml program in pkgs.runCommand
<mdlayher>
clever: that's exactly what i'm doing. although there is a PR open to add blessed versions of those sorts of conversions: https://github.com/NixOS/nixpkgs/pull/75584
<{^_^}>
#75584 (by Infinisil, 26 weeks ago, open): Configuration file formats for JSON, INI, YAML and TOML
<{^_^}>
#90380 (by mdlayher, 24 seconds ago, open): nixos/corerad: use passAsFile while converting settings JSON to TOML
<clever>
mdlayher: cleverca22 is my github handle, if you want to @ me in the text
<mdlayher>
aha, looks like i did guess right then :)
<mdlayher>
already CC'd you
<clever>
mdlayher: approved
<mdlayher>
thank you
<mdlayher>
on an unrelated note, i just ordered an LTE modem for my NixOS router! is there any special software you all use to manage mini-PCIe modems?
<mdlayher>
it looks like you can do the initial config with minicom and a few AT commands
thevar1able has joined #nixos-on-your-router
thevar1able has quit [Remote host closed the connection]