about summary refs log tree commit diff
path: root/tools/sendsms (follow)
Commit message (Collapse)AuthorAgeFilesLines
* feat(naersk): use naersk to build packages with rustFranck Cuny2022-09-261-2/+1
| | | | | | | | | | | | | naersk makes it simple to build rust project in nix. For this to work, `mkSystem` and `mkHomeManagerConfiguration` needs to pass naersk to my overlays. I dropped the support to run the tools with `nix run .#tools...`: I don't use this in practice and it's not making things simpler. I dropped `nix-linter` from the check, it's reporting many errors without helping me to fix them.
* feat(tools/sendsms): build sendsms with nix via naerskFranck Cuny2022-09-072-3/+20
| | | | | | | I can now run `nix build .#tools.sendsms` to build the tool, or get it deployed on a machine. Change-Id: I82c733be466adb229d98414fd1229e05f355dd7d
* feat(tool/sendsms): a CLI to send SMSFranck Cuny2022-09-076-0/+1382
This is a new tool to send SMS via Twilio's API. For now it supports a single subcommand: reboot. Using that subcommand, a SMS will be send with the name of the host and the IP address for the defined network interface. This is useful to be notified when one of my machine reboot, and what's the IP for the main interface (this is useful since my ISP does not provide a static IP). Change-Id: I5886a2c77ebd344ab3befa51a6bdd3d65bcc85d4