In my opinion flakes should somehow support building packages with different build options so I made a small flake library that uses the nixos module system declare options for flakes.
If someone wants to create a flake using different options they just have to call the original
flake with withConfig
and supply their configuration.