Don't force you to build sdImage
This commit is contained in:
parent
145cf2460c
commit
ff53ca768d
|
@ -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, ... }: {
|
||||
|
|
Reference in a new issue