Don't force you to build sdImage
This commit is contained in:
parent
145cf2460c
commit
ff53ca768d
|
@ -14,11 +14,11 @@
|
||||||
makeImage = conf:
|
makeImage = conf:
|
||||||
(conf.extendModules {
|
(conf.extendModules {
|
||||||
modules = [{ config.nixpkgs.buildPlatform.system = system; }];
|
modules = [{ config.nixpkgs.buildPlatform.system = system; }];
|
||||||
}).config.system.build.sdImage;
|
}).config.system.build;
|
||||||
in {
|
in {
|
||||||
formatter = pkgs.nixfmt;
|
formatter = pkgs.nixfmt;
|
||||||
packages = lib.mapAttrs'
|
packages = lib.mapAttrs'
|
||||||
(name: value: lib.nameValuePair "${name}-sdimage" (makeImage value))
|
(name: value: lib.nameValuePair "${name}" (makeImage value))
|
||||||
self.nixosConfigurations;
|
self.nixosConfigurations;
|
||||||
})) // {
|
})) // {
|
||||||
nixosModules.minify = { config, ... }: {
|
nixosModules.minify = { config, ... }: {
|
||||||
|
|
Reference in a new issue