diff --git a/flake.nix b/flake.nix index 80b8c8a..944bd7c 100644 --- a/flake.nix +++ b/flake.nix @@ -108,6 +108,14 @@ nix fmt ./*.nix ''; }; + + github-push = { + description = "Push current branch to github, lazy workaround for automated mirror. TODO: Automate"; + exec = '' + b=$(git rev-parse --abbrev-ref HEAD) + git push git@github.com:Sharsie/control4-utils.git "$b":"$b" + ''; + }; }; } ];