about summary refs log tree commit diff
path: root/bin
diff options
context:
space:
mode:
authorVincent Ambo <Vincent Ambo>2020-01-04T22·48+0000
committerVincent Ambo <Vincent Ambo>2020-01-04T22·50+0000
commit85ee07457c5fe404f38b26e01712831a6c1e4f1e (patch)
tree41f063b416ea1758d7005e9e785d9fd57e863e73 /bin
parent63dc41bcf38d7463e90b9c888f59ea8087d2f4cb (diff)
feat(ops/nixos): Add 'rebuilder' helper script r/330
This script rebuilds & activates system configuration based on the
hostname.

Currently since there is only one host this isn't particularly
interesting.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/__dispatch.sh3
l---------bin/rebuilder1
2 files changed, 4 insertions, 0 deletions
diff --git a/bin/__dispatch.sh b/bin/__dispatch.sh
index d9c2e7ee35..af56750872 100755
--- a/bin/__dispatch.sh
+++ b/bin/__dispatch.sh
@@ -38,6 +38,9 @@ case "${TARGET_TOOL}" in
   age-keygen)
     attr="third_party.age"
     ;;
+  rebuilder)
+    attr="ops.nixos.rebuilder"
+    ;;
   *)
     echo "The tool '${TARGET_TOOL}' is currently not installed in this repository."
     exit 1
diff --git a/bin/rebuilder b/bin/rebuilder
new file mode 120000
index 0000000000..8390ec9c96
--- /dev/null
+++ b/bin/rebuilder
@@ -0,0 +1 @@
+__dispatch.sh
\ No newline at end of file