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.
This commit is contained in:
Vincent Ambo 2020-01-04 22:48:52 +00:00
parent 63dc41bcf3
commit 85ee07457c
4 changed files with 33 additions and 5 deletions

View file

@ -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

1
bin/rebuilder Symbolic link
View file

@ -0,0 +1 @@
__dispatch.sh