4DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
12#diff <(ls ../config) <(ls config) # We don't want to deploy if we have the wrong set of config files
15ssh-add "$CONFIG/ssh_key"
17RESULT="$(nix-build --no-out-link -A completeServer.aws.system --argstr hostName "$HOSTNAME" "$@")"
19nix-copy-closure -v --to root@"$HOSTNAME" --gzip "$RESULT"
21"$DIR/deploy-config" "ssh" root@"$HOSTNAME" "$CONFIG"
23ssh root@"$HOSTNAME" bash -x <<EOF
24nix-env -p /nix/var/nix/profiles/system --set "$RESULT"
25/nix/var/nix/profiles/system/bin/switch-to-configuration switch
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list