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;
|
||||
|
||||
getCfg = _: cfg: cfg.config.system.build.toplevel;
|
||||
getFormat =
|
||||
_: cfg: format:
|
||||
cfg.config.formats.${format};
|
||||
imageWrapper = format: mapAttrs getFormat outputs.nixosConfigurations format;
|
||||
# getFormat =
|
||||
# _: cfg: format:
|
||||
# cfg.config.formats.${format};
|
||||
imageWrapper = format: mapAttrs (_: cfg: cfg.config.formats.${format}) outputs.nixosConfigurations;
|
||||
in
|
||||
{
|
||||
inherit (outputs) formatter devShells;
|
||||
|
Loading…
x
Reference in New Issue
Block a user