fix(ops/nixos): Add camden to rebuilder script

This should probably be templated instead.
This commit is contained in:
Vincent Ambo 2020-02-11 15:49:29 +00:00
parent 3b88611336
commit aaa0119a37

View file

@ -23,6 +23,10 @@ let
echo "Rebuilding NixOS for //ops/nixos/nugget" echo "Rebuilding NixOS for //ops/nixos/nugget"
system=$(nix-build -E '(import <depot> {}).ops.nixos.nuggetSystem' --no-out-link) system=$(nix-build -E '(import <depot> {}).ops.nixos.nuggetSystem' --no-out-link)
;; ;;
camden)
echo "Rebuilding NixOS for //ops/nixos/camden"
system=$(nix-build -E '(import <depot> {}).ops.nixos.camdenSystem' --no-out-link)
;;
*) *)
echo "$HOSTNAME is not a known NixOS host!" >&2 echo "$HOSTNAME is not a known NixOS host!" >&2
exit 1 exit 1