sheenobu dot net

2021-02-28 - NixOS - s3cmd proper mimetype

There seems to be some problem mapping mime-types properly with s3cmd in nixos. it ends up marking everything as "application/binary-octet" which is not great when uploading to a S3 bucket that backs a website. Experimentation shows that this worked (for me):

s3cmd put --no-mime-magic --guess-mime-type ...