From 93537f3b14198bb86ce67f45bbe12c5f44a22a83 Mon Sep 17 00:00:00 2001
From: zowoq <59103226+zowoq@users.noreply.github.com>
Date: Sat, 7 Jan 2023 11:10:13 +1000
Subject: [PATCH] deploy -> inv

this is useful as a generic inv wrapper
---
 HOSTS.md | 2 +-
 deploy   | 3 ---
 inv      | 3 +++
 3 files changed, 4 insertions(+), 4 deletions(-)
 delete mode 100755 deploy
 create mode 100755 inv

diff --git a/HOSTS.md b/HOSTS.md
index 93c3dc5..8a15151 100644
--- a/HOSTS.md
+++ b/HOSTS.md
@@ -40,7 +40,7 @@ This machine is meant as an aarch64 builder for our hydra instance running on bu
 ## Deployment commands:
 
 ```console
-$ ./deploy
+$ ./inv deploy
 ```
 
 If you want to reboot a machine, use the following command to also deploy secrets afterwards:
diff --git a/deploy b/deploy
deleted file mode 100755
index 438a061..0000000
--- a/deploy
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/usr/bin/env bash
-
-nix develop -c inv deploy "$@"
diff --git a/inv b/inv
new file mode 100755
index 0000000..031ff84
--- /dev/null
+++ b/inv
@@ -0,0 +1,3 @@
+#!/usr/bin/env bash
+
+nix develop -c inv "${@:---list}"