diff --git a/scripts/remote_switch.sh b/scripts/remote_switch.sh index 67dccd3..e21a396 100755 --- a/scripts/remote_switch.sh +++ b/scripts/remote_switch.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash +set -e hosts=($(echo `nix eval .#nixosConfigurations --apply 'pkgs: builtins.concatStringsSep " " (builtins.attrNames pkgs)'` | xargs )) skip=(