t2-iso-minimal, t2-iso-gnome: use binary cache and keep common settings in common.nix

This commit is contained in:
kekrby 2022-10-02 17:56:05 +03:00
parent 3f4b573ab9
commit ea31491118
4 changed files with 15 additions and 1 deletions

View file

@ -23,5 +23,5 @@
inherit nixos-hardware;
};
}).config.system.build.isoImage;
}) (builtins.filter (x: x != null) (lib.attrsets.mapAttrsToList (key: value: if value == "regular" then ./nix/${key} else null) (builtins.readDir ./nix)));
}) (builtins.filter (x: x != null) (lib.attrsets.mapAttrsToList (key: value: if value == "regular" && lib.strings.hasInfix "iso" key then ./nix/${key} else null) (builtins.readDir ./nix)));
}