Slightly modified from https://github.com/TRPB/docker-nixos.