aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xinstall.nu18
1 files changed, 18 insertions, 0 deletions
diff --git a/install.nu b/install.nu
new file mode 100755
index 0000000..d570f71
--- /dev/null
+++ b/install.nu
@@ -0,0 +1,18 @@
+#!/usr/bin/env nu
+
+#
+# ~~~ dotfiles installer
+#
+
+#
+# ~~~ variables
+
+# get device
+let DEVICE_ID = match (uname | get nodename) {
+ "companioncube" => "110",
+ "cavejohnson" => "120",
+ _ => { error make -u { msg: "invalid device" } }
+}
+
+# get locations
+let DOTFILES_DIR = "/root/dotfiles"