nixpkgs/nixos/modules/image
DavHau 6e6be76601 nixos/image.modules: siplify type for better UX
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
2025-01-13 18:57:14 +07:00
..
amend-repart-definitions.py modules/image/repart: Fix stripNixStorePrefix 2023-08-22 13:09:03 +02:00
assert_uki_repart_match.py nixos/repart-verity-store: init 2024-09-20 17:35:49 +02:00
file-options.nix image/file-options: init 2024-11-26 19:04:53 +01:00
images.nix nixos/image.modules: siplify type for better UX 2025-01-13 18:57:14 +07:00
repart-image.nix nixos/image/repart: unsafeDiscardReferences.out = true 2024-10-10 11:48:36 +02:00
repart-verity-store.nix nixos/repart-verity-store: use mkDefault for partition types 2024-12-17 17:12:42 +01:00
repart.nix nixos/repart-image: pass partition attrs to builder instead of JSON file 2024-09-30 20:10:51 +02:00