Usage before:
```
image.modules.my-format = [
(
{ config, pkgs, ... }:
{
imports = [ ./my-other-module.nix ];
foo = "bar";
};
)
]
```
Usage after:
```
image.modules.my-format = { config, pkgs, ... }: {
imports = [ ./my-other-module.nix ];
foo = "bar";
};
```
If the user wants to pass a list of modules only:
```
image.modules.my-format.imports = [
./module1.nix
./module2.nix
]
```
cc @phaer @zimbatm