Don't force you to build sdImage

This commit is contained in:
Artemis Tosini 2023-12-09 18:57:41 +00:00
parent 145cf2460c
commit ff53ca768d
Signed by: artemist
GPG key ID: EE5227935FE3FF18

View file

@ -14,11 +14,11 @@
makeImage = conf:
(conf.extendModules {
modules = [{ config.nixpkgs.buildPlatform.system = system; }];
}).config.system.build.sdImage;
}).config.system.build;
in {
formatter = pkgs.nixfmt;
packages = lib.mapAttrs'
(name: value: lib.nameValuePair "${name}-sdimage" (makeImage value))
(name: value: lib.nameValuePair "${name}" (makeImage value))
self.nixosConfigurations;
})) // {
nixosModules.minify = { config, ... }: {