From 85ee07457c5fe404f38b26e01712831a6c1e4f1e Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Sat, 4 Jan 2020 22:48:52 +0000 Subject: feat(ops/nixos): Add 'rebuilder' helper script This script rebuilds & activates system configuration based on the hostname. Currently since there is only one host this isn't particularly interesting. --- bin/__dispatch.sh | 3 +++ bin/rebuilder | 1 + 2 files changed, 4 insertions(+) create mode 120000 bin/rebuilder (limited to 'bin') 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 -- cgit 1.4.1