aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAutumn <git@autumnfo.rest>2026-05-07 08:36:03 +0100
committerAutumn <git@autumnfo.rest>2026-05-07 08:36:03 +0100
commitbdd51e7cf2c61db59a694c8b145b59eeccde8ab1 (patch)
treeb30819b65b0ce2409be0804682ce103bb488e5f5
parent7167b37c2cfc362ffe2a6bce68dc829bdea1e5dc (diff)
[meta] added install script
-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"