base image generation
Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
This commit is contained in:
parent
55b7e407f1
commit
503de488fe
@ -3,10 +3,10 @@ let
|
|||||||
inherit (inputs.nixpkgs.lib) mapAttrs;
|
inherit (inputs.nixpkgs.lib) mapAttrs;
|
||||||
|
|
||||||
getCfg = _: cfg: cfg.config.system.build.toplevel;
|
getCfg = _: cfg: cfg.config.system.build.toplevel;
|
||||||
getFormat =
|
# getFormat =
|
||||||
_: cfg: format:
|
# _: cfg: format:
|
||||||
cfg.config.formats.${format};
|
# cfg.config.formats.${format};
|
||||||
imageWrapper = format: mapAttrs getFormat outputs.nixosConfigurations format;
|
imageWrapper = format: mapAttrs (_: cfg: cfg.config.formats.${format}) outputs.nixosConfigurations;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
inherit (outputs) formatter devShells;
|
inherit (outputs) formatter devShells;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user