nixos-install: Handle /nix/var/nix/db being on a separate filesystem

This is the case on S3-backed EC2 instances.
Auto-create a keypair during EBS AMI creation