Is it possible to do some "if Windows", "if Linux" checks, etc. in the shards.yaml file?

Short answer, not really.

Related: How to change shard.yml (for Windows)

1 Like