mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 11:45:45 +03:00
![]() 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 |
||
---|---|---|
.. | ||
amend-repart-definitions.py | ||
assert_uki_repart_match.py | ||
file-options.nix | ||
images.nix | ||
repart-image.nix | ||
repart-verity-store.nix | ||
repart.nix |