about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGriffin Smith <root@gws.fyi>2022-09-26T14·08-0400
committerclbot <clbot@tvl.fyi>2022-09-26T14·17+0000
commit46d12f2f319b1f1f4c41c34577a7f791f7839daa (patch)
treed4e5e622805b3585788570301f933a50af465a42
parent9f7fa6c03c8bdadb6b931170601371cbbb4a0c46 (diff)
feat(grfn/home): Add command to graphviz a readyset instance r/4969
Change-Id: I76be175462743253c07c5e56165ea7a3d3155e2f
Reviewed-on: https://cl.tvl.fyi/c/depot/+/6789
Reviewed-by: grfn <grfn@gws.fyi>
Autosubmit: grfn <grfn@gws.fyi>
Tested-by: BuildkiteCI
-rw-r--r--users/grfn/system/home/modules/development/readyset.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/users/grfn/system/home/modules/development/readyset.nix b/users/grfn/system/home/modules/development/readyset.nix
index 9bb9d6644d..4b6edb4380 100644
--- a/users/grfn/system/home/modules/development/readyset.nix
+++ b/users/grfn/system/home/modules/development/readyset.nix
@@ -6,8 +6,9 @@
   ];
 
   home.packages = with pkgs; [
-    # This goes in $PATH so I can run it from rofi and parent to my WM
+    # These go in $PATH so I can run it from rofi and parent to my WM
     (writeShellScriptBin "dotclip" "xclip -out -selection clipboard | dot -Tpng | feh -")
+    (writeShellScriptBin "dotcontroller" "curl -s localhost:6033/graph | dot -Tpng | feh -")
 
     # TODO(grfn): rain fails to build with Go >=1.18, investigate.
     (buildGo117Module rec {