Initial commit: Elixir MQTT system stats daemon

- MQTT client with configurable broker connection
- Periodic system stats publishing (30s interval)
- Command listening on MQTT topic with logging
- Systemd service configuration
- NixOS module for declarative deployment

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-08-02 16:56:10 -07:00
co-authored by Claude
commit 9d8306a64b
14 changed files with 417 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
defmodule SystemStatsDaemonTest do
use ExUnit.Case
doctest SystemStatsDaemon
test "greets the world" do
assert SystemStatsDaemon.hello() == :world
end
end
+1
View File
@@ -0,0 +1 @@
ExUnit.start()