about summary refs log tree commit diff
path: root/cmd (follow)
Commit message (Collapse)AuthorAgeFilesLines
* add build information to `flake-info`Franck Cuny2024-01-221-1/+23
|
* build all the binaries using a MakefileFranck Cuny2024-01-223-7/+4
| | | | | | | | | | | Add a Makefile to build the local binaries. Rename all the commands without a dash. We can build the commands with `make all` or by being explicit, for example `make bin/x509-info`. Add a common package to keep track of build information (commit and build date) so we can reuse the same pattern across all the commands.
* a tool to print information about a x509 certificateFranck Cuny2024-01-212-0/+207
|
* initial version of the flake-info commandFranck Cuny2024-01-211-0/+43
| | | | | A tool to display information about a flake. For now we shows all the inputs and when they were updated last.
* ref(dnsupdate): move under toolsFranck Cuny2022-05-253-222/+0
| | | | | | | | | Integrate properly the tool `dnsupdate` with flake.nix, by adding a default.nix inside its directory. Having all the tools under a directory named `tools` is easier to reason about. I don't need a go.mod at the top level directory either, each tool will have its own.
* feat(dns): add cs.fcuny.xyzFranck Cuny2022-05-221-0/+1
| | | | This will be used for sourcegraph.
* docs: some documentationFranck Cuny2022-05-071-0/+7
|
* cmd: add a command to update fcuny.xyzFranck Cuny2022-05-072-0/+214
I'm using fcuny.xyz as a domain to run a number of services on a host using the IP provided by Tailscale. Instead of manually updating the DNS configuration in the console every time I create a new subdomain, let's do this with a small program. The program query Tailscale API to get the IP address of the host `tahoe`, and then query the DNS API to see if anything is missing or is mis-configured. If it's the case, it will resolve the problems.